Very large file conversion

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
hmedia
Posts: 3
Joined: 2009-12-30T08:45:14-07:00
Authentication code: 8675309

Very large file conversion

Post by hmedia »

Hi.

I need to do some large image scaling, for example from 4096 x 4096 px up to 131072 x 131072 px using cubic interpolation. My question is whether ImageMagick works with mmaped files or something, thus not requiring the files to be loaded completely into memory first?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Very large file conversion

Post by magick »

See http://www.imagemagick.org/script/architecture.php. ImageMagick can cache pixels to disk rather than memory for large images. Use -limit area 1mb, for example, to force image pixels to disk for anything but the smallest images.
Post Reply