Getting the picture size without crashing the server...

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: 10869
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-11-28T18:24:04-07:00

The default ImageMagick version is Q16, 16 bits-per-pixel. You can build/install the Q8 version (8 bits-per-pixel) to reduce resource requirements. Otherwise you can either point ImageMagick to a disk area with plenty of temporary disk space (e.g. setenv MAGICK_TMPDIR /data) or set the disk limit to a low limit (e.g. -limit disk 1 causes the script to fail if the image pixel cache exceeds 1GB).

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

Post by magick » 2006-11-28T20:09:48-07:00

The fastest version with the least resource consumption is Q8. Add --with-quantum-depth=8 to the configure script command line to generate the Q8 version.

Post Reply