WebP / PNG support (making jpeg-recompress more generic)
Hi!
-
I would like to have something like jpeg-recompress that maintain the perceived visual quality, but for WebP and also for PNG.
-
I'm also thinking of something not only like
webp-recompressandpng-recompress, but in addition something bigger, that could for example given ajpeg-recompress --auto-formatoption and a fixedSSIM, choose automatically between a JPEG or PNG8 based on the resulting file size and quality.
What do you think?
I really like this idea, but honestly I feel it is out of scope for this project.
My goals for JPEG-Archive are really based around long-term storage of my huge photo collection. I'd be hard-pressed to find an example of a photo that would compress better as a PNG rather than a JPEG. While I love WebP I'm hesitant to adopt it long-term due to how few other projects have support for it. Personally I think that in 15 years JPEG will still be much better supported than WebP - the benefits of WebP are just not significant to the average person.
That said, I'm not opposed to spinning off a more general recompression tool (e.g. image-compress or something). It could be based on jpeg-recompress and add support for other formats (PNG, WebP, future formats), other metrics (PSNR, JPEGmini), etc. Then this JPEG-Archive project could just use the new tool in JPEG mode.
I think this could be a worthwhile effort if people are interested in it.
A generic tool like you said still sounds like a fantastic idea. I know I would definitely use it.
It has been 5 years now. I think you guys might have heard that all major browsers are planning support for webp. I really hope to see some compression tool for webp because jpeg-recompress has really improved user experience for anyone using a jpeg-recompress web app. png compression is already solved by pngquant so I think that can be a lower priority. Would you by any chance write it in Go so that it's easier to distribute?
Hi all.
https://github.com/ImageProcessing-ElectronicPublications/jpeg-recompress include webp-compress (PPM -> WEBP).
:question: Looking for tips on how to do the same with HEIF.