[Zope] ANNOUNCE: Photo Product Update
Ron Bickers
rbickers-dated-999981986.67c214@logicetc.com
Sat, 1 Sep 2001 16:46:26 -0400
> -----Original Message-----
> From: sean.upton@uniontrib.com [mailto:sean.upton@uniontrib.com]
> Why not just hack it to call convert from the command line? Used
> to do this
> all the time using IM on Win32...
This is what I did (initially using popen2 to send and get the image) since
there's no working Python module for IM that I'm aware of. However, Windows
is a little brain dead when it comes to popen support.
The current CVS creates a temp file, runs mogrify, and reads in the modified
temp file. Wolfgang Strobl submitted a patch to use win32pipe and reported
success. But based on my tests, the temp file method has shown to be 25%
faster than using popen2. If others could report success (or failure) on
Windows with the current CVS version, I'll either leave it or just consider
using win32pipe and be done with it.
Thanks!
_______________________
Ron Bickers
Logic Etc, Inc.