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

Matthew Nuzum mattnuzum at gmail.com
Thu Sep 1 16:02:24 CEST 2005


On 9/1/05, Stefano Masini <stefano at pragma2000.com> 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 http://www.jamesh.id.au/software/pygimp/ and look at the
details for the "console" plugin.

> > It's worth a try... Obviously photoshop is a resource intensive
> > application, but once it's running it operates pretty quick.
> 
> I've already done it. Scripting Photoshop with COM is ugly, but
> possible. The problem is that since the architecture runs on a
> separate machine, I have to implement a system that exports such
> functionality over sockets. Again, possible, but quite tedious,
> expecially because it easily grows into something that you have to
> maintain more that you would like to, given the simple need to open a
> file and save it in a different format! :(
> So frustrating!

I personally use imagemagick... I'm not 100% positive, but I think it
will do all you've mentioned, including working with the PSD files.
There are some python wrappers for this as well.
http://starship.python.net/crew/zack/pymagick/ (for one example)

The trick is building ImageMagick with all of the right libraries to
get the full functionality. I would do it on Linux, but that's me.

-- 
Matthew Nuzum
www.bearfruit.org


More information about the Image-SIG mailing list