Mogrify and convert not working how I think they should
Posted: 2009-09-30T17:39:29-07:00
Using the help here I found this command to convert a png to a gif and still have it look halfway decent:
convert source.png -background #FFFFFF -flatten -fuzz 10% -transparent #FFFFFF target.gif
Now I want to convert a whole mess of png's with mogrify instead like this:
mogrify -format gif -background #FFFFFF -flatten -fuzz 10% -transparent #FFFFFF *.png
It doesn't produce the same result. In the convert case I get an image with transparency and a ring of background color in the semi-transparent pixels. In the mogrify case there is no transparency.
I'm using:
Version: ImageMagick 6.5.3-8 2009-06-16 Q8 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
convert source.png -background #FFFFFF -flatten -fuzz 10% -transparent #FFFFFF target.gif
Now I want to convert a whole mess of png's with mogrify instead like this:
mogrify -format gif -background #FFFFFF -flatten -fuzz 10% -transparent #FFFFFF *.png
It doesn't produce the same result. In the convert case I get an image with transparency and a ring of background color in the semi-transparent pixels. In the mogrify case there is no transparency.
I'm using:
Version: ImageMagick 6.5.3-8 2009-06-16 Q8 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC