Hacker GitHub

← All repos

google/zopfli

View on GitHub ↗ ★ 3,605 C++

Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.

14 mentions on Hacker News by 14 people: 1 story, 13 comments · first 2015-09-01 · latest 2026-08-31

Mentions per year 14 mentions · busiest year 2022 (3)
20082026
  1. …during the build process. https://blog.llandsmeer.com/tech/2019/08/29/precompression.h... https://github.com/google/zopfli https://github.com/kurtmckee/pelican-precompress
  2. …excellent about zopfli (apart from being gzip compatible) is how easy it is to bootstrap: git clone https://github.com/google/zopfli.git cc -O2 zopfli/src/zopfli/*.c -lm It just requires a C compiler and linker.
  3. Also https://github.com/google/zopfli and https://github.com/google/brotli
  4. Depends on the format I'm targeting. PNG: zopflipng https://github.com/google/zopfli/blob/master/README.zopflipn... AVIF: libavif https://github.com/AOMediaCodec/libavif JPG (for backwards compatibility when there's no AVIF): mozjpeg…
  5. …zopflipng (and most other tools) don't have APNG support, keeping only the first frame :| [0] https://github.com/google/zopfli/issues/113
    comment by account42 · 2022-08-31 · in Losslessly Optimising Images
  6. ▲ 1
    Good, but slow, deflate or zlib compression library
    story by gslin · 2022-06-10 · 0 comments
  7. …[2] https://encode.su/threads/2482-libdeflate-a-new-optimized-DE... [3] https://github.com/google/zopfli
  8. You can also use Zopfli to get a bit higher compression at the expense of longer compression times: https://github.com/google/zopfli
    comment by lambdadmitry · 2021-11-03 · in How to build a low-tech website? (2018)
  9. …palette, though I'm not sure if 16 or even 4 color palette will significantly alter the visual. [1] https://github.com/google/zopfli
  10. https://github.com/google/zopfli for the latter
  11. …applied to PNG as well, like with zopflipng[1]. [0] https://www.w3.org/TR/PNG-Filters.html [1] https://github.com/google/zopfli/blob/master/README.zopflipn...
  12. …optimizers, e.g. AdvanceCOMP [3] [1] https://gist.github.com/klauspost/2900d5ba6f9b65d69c8e [2] https://github.com/google/zopfli/commit/337d27f25ef15a6cf34f... [3] http://www.advancemame.it/doc-advpng.html
    comment by niftich · 2016-06-29 · in Lossless compression with Brotli
  13. It does decompress the source PNG and build a new file from the pixels. You can see the source here. https://github.com/google/zopfli/blob/master/src/zopflipng/z...
  14. …image ( http://googleblog.blogspot.ru/2015/09/google-update.html ) is well optimized with Zopfli ( https://github.com/google/zopfli ). However, I don't see why the new logo is smaller (from here – https://design.google.com/articles/evolving…
    comment by vladdanilov · 2015-09-01 · in Google’s look, evolved