imagecopyresampled

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Ryland

Re: imagecopyresampled

Post by Ryland »

If you figure out a way, I'd like to know it too. I can't think of a way to do it other than the way you described, cloning and cropping. Can the source image be cropped beforehand? Are the image sections all the same size? If you cropped it beforehand, you could just read in each section separately and resize it.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: imagecopyresampled

Post by magick »

Cloning and cropping should work efficiently. Cloning is light-weight since only the image attributes are copied. The pixel cache is not duplicated, instead we just reference the original image cache. We suspect you will get a speed-up with the pending ImageMagick 6.4.1-4 release. We took time out to improve a number of algorithms to speed them up both serially and on dual & quad-core processor systems.
Post Reply