Skip to content

Compressed GIF is larger than Original #154

@nunoperalta

Description

@nunoperalta

Please let me know of some email or place where I can send the original GIF used for this.

Several GIFs uploaded by our members become larger than the original, even though I only use gifsicle to process them. The main reason I use gifsicle is to reduce the space of uploaded GIFs.

Example here:

$ /usr/local/bin/gifsicle -O3 -Okeep-empty --lossy=80 --careful --no-extensions --resize-fit 720x720 Original.gif -o Compressed1.gif

$ /usr/local/bin/gifsicle -O3 -Okeep-empty --lossy=80 --careful --no-extensions Original.gif -o Compressed2.gif

$ /usr/local/bin/gifsicle -O3 -Okeep-empty --lossy=80 --no-extensions Original.gif -o Compressed3.gif

$ /usr/local/bin/gifsicle -O2 -Okeep-empty --lossy=80 --no-extensions Original.gif -o Compressed4.gif

$ /usr/local/bin/gifsicle -O3 -Okeep-empty --no-extensions Original.gif -o Compressed5.gif

$ ls -l
1010151 Original.gif
1353192 Compressed1.gif
1353192 Compressed2.gif
1349871 Compressed3.gif
1382477 Compressed4.gif
1076116 Compressed5.gif

"lossy" seems to have the biggest impact in making the file size larger.

Without lossy, and only with "-O3" the file is still slightly larger than the original.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions