Search found 5 matches

by pricj004
2016-02-24T18:25:09-07:00
Forum: Users
Topic: Shrinking file size on an animated gif
Replies: 11
Views: 30879

Re: Shrinking file size on an animated gif

Yeah I don't have a colortable image - I thought the command would autogenerate one.

And yes, I've played with the fuzz value. Increasing it lowers the file size quite aggressively, but with a noticeable loss of quality (on my image anyway).
by pricj004
2016-02-24T17:58:35-07:00
Forum: Users
Topic: Shrinking file size on an animated gif
Replies: 11
Views: 30879

Re: Shrinking file size on an animated gif

Does -remap require me to have an existing colortable? I give it a filename, but it errors out because it doesn't exist?

Code: Select all

convert input.gif -coalesce -scale 700x525 -fuzz 2% +dither -layers Optimize -remap colortable.gif output.gif
by pricj004
2016-02-24T17:47:35-07:00
Forum: Users
Topic: Shrinking file size on an animated gif
Replies: 11
Views: 30879

Re: Shrinking file size on an animated gif

Huh. So it does. Down to 3.8MB now. Thanks.
by pricj004
2016-02-24T17:17:09-07:00
Forum: Users
Topic: Shrinking file size on an animated gif
Replies: 11
Views: 30879

Re: Shrinking file size on an animated gif

Thanks for the advice.

I read the links, and after a bit of trial and error, found that adding -fuzz had the largest effect on file size.

Reducing to a single colour map using +map helped a bit too. I've also added +dither, so my final command at the moment is:

convert input.gif -coalesce ...
by pricj004
2016-02-24T15:38:51-07:00
Forum: Users
Topic: Shrinking file size on an animated gif
Replies: 11
Views: 30879

Shrinking file size on an animated gif

Hi,

Version 6.9.3-0 Q16 x86_64 2016-02-19

I have this animated gif: https://cdn-images-1.medium.com/max/1600/1*6GffB7hLtEp-eieBBoCzjA.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:

convert input.gif -coalesce -resize 700x525 -layers ...