you are viewing a single comment's thread
view the rest of the comments
[–] 16 points 6 months ago (2 children)

And yet, surprisingly, I can often get a gif down to a smaller file size and better image quality than a webp file.

Still, there's hope for it yet if it improves!

  • source
  • hideshow 4 child comments
  • [–] 1 point 6 months ago (2 children)

    Aren't gifs just each individual frame bundled together? So there's no space saving with a gif without reducing resolution

  • source
  • parent
  • hideshow 4 child comments
  • [–] [S] 2 points 6 months ago

    I think they can be a little more complex than that. When creating a GIF in GIMP, there is a function to "Optimize" which gets rid of redundant pixels that are the exact same on multiple frames (or something like that). Whatever it does, it definitely reduces the final file size. Any time I make an animation that has to be a GIF file for whatever reason, I try to make it in GIMP to make use of that feature.

    https://docs.gimp.org/3.0/en/plug-in-optimize.html

  • source
  • parent
  • [–] 2 points 6 months ago (1 child)

    GIF uses transparency to overlay a frame over the previous one, so colors for the unchanged pixels can be collapsed to the transparent color to get better compression.

    Of course, this is rather primitive compared to anything invented since MPEG-2.

  • source
  • parent
  • hideshow 2 child comments