Version 6.9.3-0 Q16 x86_64 2016-02-19
I have this animated gif: https://cdn-images-1.medium.com/max/160 ... BoCzjA.gif
It's 4.1MB and 800 x 600.
I'm trying to resize it to 700 x 525 (same aspect ratio), using this command:
Code: Select all
convert input.gif -coalesce -resize 700x525 -layers Optimize output.gif
I would have thought, given the dimensions are smaller, the file size would end up smaller?
I have tried the following:
Code: Select all
convert input.gif -coalesce -background White -alpha remove -resize 700x525 -layers Optimize output.gif
convert input.gif -coalesce -bordercolor White -border 0 -resize 700x525 -layers Optimize output.gif
convert input.gif -coalesce -colors 32 -resize 700x525 -layers Optimize output.gif
convert input.gif -coalesce -depth 8 -resize 700x525 -layers Optimize output.gif
convert input.gif -coalesce -quantize lab -resize 700x525 -layers Optimize output.gif
Any ideas? I basically just want the file size to be less than 4.1MB.