[Pythonmac-SIG] Packaging Imagemagick into wxPython standalones.

Larry Meyn Larry.A.Meyn at nasa.gov
Mon Oct 15 19:15:21 CEST 2007


Jeremy,

You should include the error trace when posting problems and  
preferably snippets of the misbehaving code.  I had a similar problem  
with a py2app attempt that turned out be my not having a resource  
data directory included in the bundle that was built.

Larry

On Oct 15, 2007, at 9:44 AM, Jeremy Gibbs wrote:

> I am creating a very simple front end to a vector graphics package
> that one of my professors wrote.  His package writes the images out
> in .eps format. So in my code I just call ImageMagick's 'convert'
> function to jpeg. From jpeg I can use wxPython's ConvertToBitmap()
> feature to display the image to the user. This works great from the
> command line, but when I try to make a standalone with py2app, it
> fails due to 'convert' not working.
>
> When this didn't work, I tried using PIL and converting by Image.open
> and Image.save. Again, this worked great from the command line, but
> failed in the standalone version.  I suspect it is likely that I am
> not including all relevant libraries needed for this to work.
>
> Has anyone had any experience using ImageMagick or PIL in a
> standalone application to convert image types?
>
> Thanks for any help.
>
> Jeremy Gibbs
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

Larry Meyn





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20071015/bd5fe5a4/attachment.htm 


More information about the Pythonmac-SIG mailing list