I'm still pretty new to command line IM but have successfully used it for several projects already.
I am currently attempting to pull apart an existing animated gif, make some photo manipulations, and stitch it back together. In theory this should be easy. The problem that I am having is that I can successfully export all of the individual frames by using:
Code: Select all
convert c:/biggif/wip/fallingfromtop.gif c:/biggif/wip/wip2/%d.gif
Code
Code: Select all
convert -geometry 200% +repage -fuzz 3% +dither -colors 256 -despeckle -delay 6 -loop 0 c:/biggif/wip/wip2/wip3/*.gif -layers OptimizePlus -layers OptimizeTransparency c:/biggif/wip/wip3_topfall.gif
I have limited success if I simplify the convert back to animated gif but on playback each frame jumps around and appears to not be centered.convert.exe: images are not the same size `' @ error/layer.c/OptimizeLayerFrames
/1020.
Code used with some sucess:
Code: Select all
convert canvas: c:/biggif/wip/wip2/wip3/*.gif -resize 500 -size 500x289 c:/biggif/wip/falling_processed.gif
I'm pretty sure this is why I'm having trouble but nothing that I've been able to come up with has worked. I've tried to force the image size to be the same as all of the other images but the difference in px on the off frames are still there.c:/biggif/wip/falltobottom.gif[4] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.069
c:/biggif/wip/falltobottom.gif[5] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.083
c:/biggif/wip/falltobottom.gif[6] GIF 299x224 300x225+0+1 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.093
c:/biggif/wip/falltobottom.gif[7] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.099
c:/biggif/wip/falltobottom.gif[8] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.104
c:/biggif/wip/falltobottom.gif[9] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.6
07MB 0.000u 0:00.110
c:/biggif/wip/falltobottom.gif[10] GIF 298x225 300x225+2+0 8-bit sRGB 128c 1.
607MB 0.000u 0:00.115
c:/biggif/wip/falltobottom.gif[11] GIF 300x225 300x225+0+0 8-bit sRGB 128c 1.
My brain is a bit fried, but does anyone have some ideas or help? Thank you,