Zpng
jpeg2png
Zpng | jpeg2png | |
---|---|---|
4 | 2 | |
254 | 469 | |
- | - | |
10.0 | 10.0 | |
almost 6 years ago | over 3 years ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Zpng
- Zpng: Better lossless compression than PNG with a simpler algorithm
-
Quite OK Image is now my favorite asset format
> You'd probably get even better results by using PNG's filters instead of QOI
Did anybody ever try this? It would be quite interesting and does not seem too difficult.
The only thing I could find is https://github.com/catid/Zpng which does not use the normal PNG filtering.
-
Google Chrome Is Already Preparing To Deprecate JPEG-XL (~3x smaller than JPEG, HDR, lossless, alpha, progressive, recompression, animations)
Also, Chris Taylor published an experimental PNG library with Zstd hardwired in.
-
QOI: Lossless Image Compression in O(n) Time
- I feel like the benchmark suite is lacking. For better overview you probably should include libpng results with max compression level and lowest compression level. Lossless modes of AVIF and WEBP would be nice. (also could throw similar project to yours like https://github.com/catid/Zpng) Not saying the benchmark is bad, but IMHO doesn't paint the full picture. From quick test I got significantly better compression on libpng, ofc in expense of time, but you didn't optimize it for speed either. So we have some results, but they are not really representative imho.
jpeg2png
-
Google Chrome Is Already Preparing To Deprecate JPEG-XL (~3x smaller than JPEG, HDR, lossless, alpha, progressive, recompression, animations)
That's not necessarily the case with the jpeg2png decoder, but it's been a while since I used it, and I'm not able to test right now. The PNG files will be smaller than with the usual JPEG decoding process, at least.
-
Losslessly Optimising Images
This tool optimises blocky JPEGs for a better viewing pleasure: https://github.com/victorvde/jpeg2png
> jpeg2png finds the smoothest possible picture that encodes to the given JPEG file.
What are some alternatives?
qoi - The “Quite OK Image Format” for fast, lossless image compression
ImageOptim-CLI - Make optimisation of images part of your automated build process
ZLib - A massively spiffy yet delicately unobtrusive compression library.
shrivel - Command line wrapper utility to shrink a path of images for web based on external tools.
qoi - Pure Go encoder/decoder of the QOI image format
PNG-spec - Maintenance of the PNG specification
zopfli - Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.
guetzli - Perceptual JPEG encoder
qoi - A rust implementation of the “Quite OK Image” format for fast, lossless image compression
oxipng - Multithreaded PNG optimizer written in Rust
rawloader - rust library to extract the raw data and some metadata from digital camera images