I have a set of images for an animation, but not all of the dimensions are the same. Some may be 100x100, others might be 99x105, a few with 110x100, and so on.
If I did a simple
convert *.png myAni.gif
And the first image happened to be a bit smaller in dimension compared to the largest image, the result may be "cut off" because the dimensions of the canvas is not large enough.
How can I either
- Set the canvas size for the animation, or more preferably,
- Have imagemagick find the largest width and height of the input set and use that as the canvas size?
The way I am doing it is to supply the first image as my "canvas" image, which would be created with a suitable width/height, and then I do a coalesce and delete 0 like this
convert canvas.png 001.png 002.png ... 009.png -coalesce -delete 0 myAnim.gif