ImageMagick very slow...

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?".
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ImageMagick very slow...

Post by anthony »

magick wrote:No it won't be faster because it still accesses pixels in a non-sequential manner and random access to disk is much slower than sequential access. Again if the image fits in memory, this random access is less problematic since memory access is 1000+ times faster than disk access.
Actually if IM is caching to disk, then I would think that in that case distort SRT may be faster, especially if you turn off EWA color lookup and go to fast interpolation lookup (which is typically good enough for most un-scaled rotations).
http://www.imagemagick.org/Usage/distor ... nterpolate

Code: Select all

   distort image_in   -filter point +distort SRT 0.1 image_out

Also note that if you plan to do this a number of times converting you input image to MPC (disk memory mapped) format first, and using that for input can make the task faster by removing the need for each individual command to do that disk cache conversion each time you run it.
http://www.imagemagick.org/Usage/files/#massive

This is one advantage of IM. Fine-control of the image processing.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply