Re: ImageMagick very slow...
Posted: 2011-09-18T17:29:33-07:00
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).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.
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.