jpeg2png
shrivel
Our great sponsors
jpeg2png | shrivel | |
---|---|---|
2 | 2 | |
469 | 5 | |
- | - | |
10.0 | 10.0 | |
over 3 years ago | over 1 year ago | |
C | C# | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
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.
shrivel
-
Ask HN: What was your last “ah-ha ” moment?
I was trying to create PDF files from photos taken with a phone camera (aka docscanner) and tried to compress as good as possible, when I realized that PNG supports 1 bit mode, with a palette of only 2 entries...
Combined with adaptive thresholding (e.g. Sauvola) this resulted in extremely compressed but still readable images.
I wrote a little C# tool called shrivel for my requirements: https://github.com/sandreas/shrivel/blob/main/shrivel/Comman...
- Losslessly Optimising Images
What are some alternatives?
ImageOptim-CLI - Make optimisation of images part of your automated build process
guetzli - Perceptual JPEG encoder
PNG-spec - Maintenance of the PNG specification
squoosh - Make images smaller using best-in-class codecs, right in the browser.
zopfli - Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.
Zpng - Better lossless compression than PNG with a simpler algorithm
oxipng - Multithreaded PNG optimizer written in Rust
libavif - libavif - Library for encoding and decoding .avif files