'convert' PSD->PDF OOM on Mac OS X 10.6.3

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
darkart
Posts: 14
Joined: 2008-03-06T23:38:26-07:00

'convert' PSD->PDF OOM on Mac OS X 10.6.3

Post by darkart »

'convert' fails to convert some PSD files to PDF on Mac OS X 10.6.3 as it tries to allocate a very very large chunk of memory (18+ quintillion bytes, but not all bits in a 64bit integer are turned on). It reports that the error is:

@ error/pdf.c/WritePDFImage/1557

This is ImageMagick 6.6.2-0 built 64 bit on Mac OS X 10.6.3. Unfortunately I can't post any of the files that show this problem, but I can do further digging into the files if anyone has ideas on what might be going on.

TIA
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 'convert' PSD->PDF OOM on Mac OS X 10.6.3

Post by magick »

We have a few patches in ImageMagick 6.6.2-2 Beta to improve PSD support. We could use help, the PSD image format is complex.
darkart
Posts: 14
Joined: 2008-03-06T23:38:26-07:00

Re: 'convert' PSD->PDF OOM on Mac OS X 10.6.3

Post by darkart »

We may be able to help test, unknown if we can help with coding due to limited resources but pointers to things to check on would help in that area.

I forgot to mention that these files have been fine with Mac OS X 10.5.8 and 32bit 'convert', have not tried building ImageMagick 32bit on 10.6.3 to see if that still works.
darkart
Posts: 14
Joined: 2008-03-06T23:38:26-07:00

Re: 'convert' PSD->PDF OOM on Mac OS X 10.6.3

Post by darkart »

FYI-
This problem appears to be fixed in 6.6.2-9. Data that exhibited the failure now works properly. Thanks much!
Post Reply