Code: Select all
D:\web\im>convert frames\*.png -set delay 1x24 -coalesce -trim -set dispose background -layers TrimBounds out.gif
Code: Select all
D:\web\im>convert frames\*.png -set delay 1x24 -coalesce -trim -set dispose background -layers TrimBounds out.gif
Ah well. Thanks for taking the time to have a go!fmw42 wrote:I gave it my best try but was unsuccessful working around this.
That's the problem... I want the background to be the same blue.snibgo wrote:The blue background shrinks against a background that is white on my viewers.
Code: Select all
convert ^
frames\*.png ^
-set delay 1x24 ^
-background #889db3 ^
-gravity Center ^
-trim +repage -extent 249x492 ^
-coalesce ^
-set dispose background ^
-layers TrimBounds ^
out.gif
Code: Select all
convert ^
frames\*.png ^
-set delay 1x24 ^
-background #889db3 ^
-coalesce ^
-trim +repage ^
-set dispose background ^
-layers TrimBounds ^
-format "%%P%%O\n" -write info: ^
dummy.gif
Code: Select all
convert ^
frames\*.png ^
-set delay 1x24 ^
-background #889db3 ^
-coalesce ^
-trim +repage ^
-set dispose background ^
-layers TrimBounds ^
-format "%%P%%O\n" info:
Code: Select all
identify -format "%%P" dummy.gif[0]
Code: Select all
convert ^
frames\*.png ^
-trim -layers TrimBounds ^
outD_%%03d.png
mogrify -background #889db3 -layers flatten outD_*.png
convert ^
outD_*.png ^
-set delay 1x24 ^
outD3.gif
Code: Select all
convert ^
frames\*.png ^
-trim -layers TrimBounds ^
outD_%%03d.miff
mogrify -background #889db3 -layers flatten outD_*.miff
convert ^
outD_*.miff ^
-set delay 1x24 ^
outD3.gif