Animation, but not floating point?
Posted: 2010-01-23T23:04:54-07:00
I'm using 6.5.8-Q16 on Windows 7, seeing how suitable IM might be for generating frames for a movie from photographs using pan/zoom/etc.
A typical command pastes part of an image to a background:
composite -compose Copy -geometry +22.53+10.673 ( srcB.jpg -resize "54.9399%" ) iv_bgnd.png iv_srcB.png
iv_srcB.png is then blended with other images to make a frame. Frames are assembled with ffmpeg.
The geometry and resize numbers are calculated by software, and change smoothly between frames.
But composite seems to read the geometry offsets as integers, not floating point. So a point on a photo won't move smoothly, but jerks with the quantisation.
Is this a problem in the API, or just the command lines? Are there plans to fix this? Or have I got something wrong?
A typical command pastes part of an image to a background:
composite -compose Copy -geometry +22.53+10.673 ( srcB.jpg -resize "54.9399%" ) iv_bgnd.png iv_srcB.png
iv_srcB.png is then blended with other images to make a frame. Frames are assembled with ffmpeg.
The geometry and resize numbers are calculated by software, and change smoothly between frames.
But composite seems to read the geometry offsets as integers, not floating point. So a point on a photo won't move smoothly, but jerks with the quantisation.
Is this a problem in the API, or just the command lines? Are there plans to fix this? Or have I got something wrong?