Unable to convert large images? Possibly syntax issue

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Can you post a URL to your image so we can try to reproduce the problem?

ImageMagick 6.2.8-0, the latest release, has some patches related to large file handling. If you are not using it, consider upgrading.

The depth option should be 8, not 24. Its the depth of a single channel.

Try using the Q8 version of ImageMagick. The default install is Q16. Q16 uses twice as much resources as Q8. Using ImageMagick Q16, a 86400x42600 could use up to 52GB of temporary disk space whereas Q8 uses up to 26GB.
carbon0404
Posts: 17
Joined: 2012-04-11T05:11:30-07:00
Authentication code: 8675308

Re: Unable to convert large images? Possibly syntax issue

Post by carbon0404 »

I have similar problem.ImageMagick will create very large files in /tmp,thousands of MB.If I reinstall it with "--with-quantum-depth=8"option,it can help?
carbon0404
Posts: 17
Joined: 2012-04-11T05:11:30-07:00
Authentication code: 8675308

Re: Unable to convert large images? Possibly syntax issue

Post by carbon0404 »

I found some error in my log like:
"2012-12-05 19:25:56|BaseImageConvert.cpp:890:doConvert|[CrawlerCallback::doConvert:No_Blank]convert error:LightImageServer: Insufficient memory (case 4) `' @ error/jpeg.c/JPEGErrorHandler/318|http://img.hb.aicdn.com/dd32146ab1d5690 ... eghz_fw554"

I use the c++ api,can anyone give me some recommendation?
Post Reply