Code: Select all
convert r:\in.*.png -set delay 1x24 -coalesce -trim -set dispose background -layers TrimBounds r:\out.gifI bring pictures.

How do I deal with the black blocks? They vex me so.
Code: Select all
convert r:\in.*.png -set delay 1x24 -coalesce -trim -set dispose background -layers TrimBounds r:\out.gif
YES!fmw42 wrote:perhaps you need to trim twice (with -fuzz XX%), once for the white and once for the black. and do a -layers optimize
Wait, no.fmw42 wrote:perhaps you need to trim twice (with -fuzz XX%), once for the white and once for the black. and do a -layers optimize
Windows 7 x64fmw42 wrote:that may (or may not) be an issue with your IM version. what version and platform are you using?
Code: Select all
Version: ImageMagick 6.8.6-10 2013-09-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib freetype jbig jng jp2 jpeg lcms png ps png tiff webp xml zlibNo, they're all opaque .pngs.fmw42 wrote:do your images have transparency?


Code: Select all
convert r:\in.*.png -set delay 1x24 -coalesce -fuzz 50% -trim -set dispose background -colors 256 +dither -layers TrimBounds -background khaki -layers optimize r:\out.gif

Users browsing this forum: Amazon [Bot] and 5 guests