ImageMagick

From: Dave Kelly (daveekelly_at_earthlink.net)
Date: 07/31/04


Date: Sat, 31 Jul 2004 03:12:36 GMT

I guess I need some help. I have been trying for 2 days to figure out
how to work the '-morph'
option in the 'convert' program of the 'ImageMagick' suite.

The convert manual: -morph frames

        convert -morph 20 first.img second.img dest.img

will give an image with 22 layers.
If first.img and second.img are the same size, the image stays in the
center. If second is bigger
than first the image starts in the center and moves toward the upper
left corner getting smaller.

Also from the convert manual: -gravity cardinalpoints
                                -geometry <width>x<height>{+-}<x>{+-}<y> {%} {@} {!} {<} {>}
                                                preferred size and location of the image.

Neither of this flags seem to have any effect on the location of the
morphed image.
Can someone shed some light this? Am I asking 'convert' to do something
impossible.

Should I build the morphed image and 'composite' it onto a larger
background image?
composite -geometry +128+128 'convert -morph 20 first.img background.img
background.img' background.img
                ( This is not right, I need to work on this line )

Can someone help?
Thanks
Dave