Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Christian M. Jensen
I give it out :( Good Luck! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefano Masini Sent: Thursday, September 01, 2005 8:25 AM To: image-sig@python.org Subject: Re: [Image-SIG] Read EPS (bitmap and vector),TIFF and PSD on windows On 9/1/05, Fredrik Lun

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Stefano Masini
On 9/1/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > I'm not sure I see the connection -- the EPS plugin simply looks for > EPS headers, and if found, tells ghostscript to render it to a suitable Here's what I got: File "/usr/lib/python2.4/site-packages/PIL/EpsImagePlugin.py", line 75, in Ghosts

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Fredrik Lundh
Stefano Masini wrote: > Then I looked at the implementation of PIL's ghostscript plugin, and > it seemed remarkably short comparing to the boatload of command line > parameters that gs has. I'm not sure I see the connection -- the EPS plugin simply looks for EPS headers, and if found, tells ghost

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Stefano Masini
On 9/1/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > have you tried installing PIL and doing > > import Image > Image.open('foo.eps').save('preview.jpeg') yeehh... I've tried it... spent some time on it today, but not successfully... :( Of course, I probably stressed the poor ghostscript right

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Stefano Masini
On 9/1/05, Markus Meyer <[EMAIL PROTECTED]> wrote: > at least for vector EPS, you definitely need a RIP (raster image > processor). Of course, Photoshop has kind of a RIP built-in, so it can yep. > Most of these programs should be able to create JPG previews. Commercial > RIPs normally work using

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Matthew Nuzum
On 9/1/05, Stefano Masini <[EMAIL PROTECTED]> wrote: > So, is it possible to use the gimp as a simple backend? I mean, wrap > some functionality inside a pythonic api, so that I can do stuff like: > open('foo.eps').save('preview.jpeg') ? I think so. http://www.gimp.org/tutorials/#Script Also check

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Markus Meyer
Stefano, at least for vector EPS, you definitely need a RIP (raster image processor). Of course, Photoshop has kind of a RIP built-in, so it can interpret vector formats. Ghostscript is a well-known open source RIP which can be used over command line, but it won't help you with reading PSD fil

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Fredrik Lundh
Stefano Masini wrote: > So, is it possible to use the gimp as a simple backend? I mean, wrap > some functionality inside a pythonic api, so that I can do stuff like: > open('foo.eps').save('preview.jpeg') ? have you tried installing PIL and doing import Image Image.open('foo.eps').save('preview.

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Stefano Masini
On 9/1/05, Matthew Nuzum <[EMAIL PROTECTED]> wrote: > I haven't found a solution that can read PSD files that correctly > handles the layer effects created in 5.5 and newer versions of PSD > files. Yeah... I can see that. Adobe keeps adding stuff to its products, no wonder people can't keep up wit

Re: [Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Matthew Nuzum
On 9/1/05, Stefano Masini <[EMAIL PROTECTED]> wrote: > I need to read JPG (easy), TIFF (easy), EPS (both bitmap and vector) > and PSD (photoshop) files, and create small jpeg previews. This should > preferrably be done under windows, optionally under linux. I haven't found a solution that can read

[Image-SIG] Read EPS (bitmap and vector), TIFF and PSD on windows

2005-09-01 Thread Stefano Masini
Hi, I've been digging around a bit and found a little too many different libraries for dealing with image formats, so I'm a little confused... here's my problem: I need to read JPG (easy), TIFF (easy), EPS (both bitmap and vector) and PSD (photoshop) files, and create small jpeg previews. This sh