Code Monkey home page Code Monkey logo

Comments (4)

brunolemos avatar brunolemos commented on June 9, 2024 4

Hi guys, thanks for your ideas!

I just deployed a new version with the optimizations you suggested.
I removed some frames and applied compression using gifsicle.

The new gifs will now have only 1.2MB instead of 5.1MB!
That will have huge impact on the server costs, for sure!

from is-now-illegal.

customstickers avatar customstickers commented on June 9, 2024

Gifsicle sounds like a good idea to start with - i've just tested it and it reduced the 5MB of https://customsticke.rs/media/TEST.gif to 3MB of https://customsticke.rs/media/TESTgifsicle.gif with gifsicle --optimize=3

UPDATE: 2MB - https://customsticke.rs/media/TESTgifsiclelossy80.gif with gifsicle -O3 --lossy=80 from https://github.com/pornel/giflossy/releases/tag/lossy%2F1.82.1

UPDATE#2: 1MB with half frames - https://customsticke.rs/media/TESTgifsiclelossy80halfframes.gif (with https://customsticke.rs/media/gifsicle_remove2.sh - modified version of https://gist.github.com/aug2uag/0906c80efb9fd6067b54)

from is-now-illegal.

manuel-di-iorio avatar manuel-di-iorio commented on June 9, 2024

Have you considered using .webp ?
It's a lossless animated picture format.
For http://isnowillegal.com/?legality, I tested with http://www.online-convert.com and the size is half than gif

.gif 4.9 MB
.wepb 2.39 MB

But of course, optimizing the gif (losslessy) and dropping some not-important frames will generally help

from is-now-illegal.

qgustavor avatar qgustavor commented on June 9, 2024

@manuel-di-iorio I think the problem with WebP is the poor browser support: http://caniuse.com/#feat=webp

How about using some video format? Video formats don't work in <img> tags... as noted in WebP FAQ.

from is-now-illegal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.