Page 1 of 1

Image dimension/size limitation for convert

Posted: 2007-02-02T15:59:01-07:00
by chanoy
Hi,

Are there any limitations for the convert command in regard to the size/dimension of the image? Is the limitation only on the machine (memory, processor, etc) and not on the algorithm?

For example, can I use convert to create a thumbnail from an image (PPM/PGM) that's 2,000,000x2000 pixels.

I don't current have such an image to test ImageMagick with, but I just want to know if the program is written to handle arbitrary large dimension/size (with the help from disk, etc).

Thank you,
onyee

Posted: 2007-02-02T16:17:12-07:00
by magick
In general, the image size limitation is constrained by the amount of free disk you have available. If the image is sufficiently large as defined by the available memory and any resource limitations you impose (i.e. -limit), the pixels are cached to disk. Disk is of course slower than memory so expect the process to be slower than in-memory processing.