We are trying to create an image zoom sequence from a source image where all
resulting images have the same dimension and resolution of the source image.
Zoom origin should be the center of the source image,

Right now we are using this code: convert #sourceImageName# -gravity Center
-crop #zoomPercent#% +repage -resize 320X240! #this_location#\#ziimageName#

zoomPercent is a variable resulting form the animation length and the frame
rate (number if images in the sequence), I guess doe to rounding errors the
center crop does not always hit the center and we get ugly shifts when
putting the image sequence back together. 

Looks to me that there might be a rounding issue with the crop percent
value, does this has to be always an integer?

Does anybody have any idea on how to get a smooth sequence of images
mimicking a zoom into the source image?

Christian Rauch

Technical Project Lead

DEALER SPECIALTIES

60 Overbrook Drive

Monroe, OH 45050                                     

Office: 513.705.2289 / 2389

 <mailto:[email protected]> [email protected]

www.dealerspecialties.com

 

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to