Page 1 of 1

Posted: 2006-04-21T07:14:52-07:00
by magick
The -scale option introduces new colors so one might expect an increase in size. You can fix by using -sample or by using -colors to reduce the number of colors in the image.

Posted: 2006-04-21T08:19:23-07:00
by glennrp
Besides using -sample or -colors, you could write PNG with -quality 90
and probably get somewhat smaller files. ../glenn

Posted: 2006-04-26T12:05:49-07:00
by magick
Are you using a modern version of ImageMagick, 5.5.7 or above? Older versions of ImageMagick did not compress GIF images because of the LZW compression patent.

Posted: 2006-04-28T11:20:32-07:00
by magick
We get
  • -rw------- 1 magick magick 1432 Apr 20 08:20 pillsbury_bf10.gif
    -rw------- 1 magick magick 1439 Apr 28 13:48 pillsbury_bf10SMALL.gif

Posted: 2006-04-28T13:14:56-07:00
by magick
The -scale option increases the size because it introduces new colors. With -sample we go from 1432 to 534 bytes with your command.