fhanau / Efficient-Compression-Tool

Fast and effective C++ file optimizer
Apache License 2.0
596 stars 41 forks source link

Add Lossy please ! #17

Closed pflacson closed 2 years ago

pflacson commented 8 years ago

Thank you very much for Efficient-Compression-Tool !! Have you think for lossy switch for PNG and JPG? It will be very nice if you add this to this great optimiser !! Thanks again

fhanau commented 8 years ago

I have tried to keep ECT focused on one task up to now, but lossy support could simplify some use cases. I will think about it and possibly support lossy compression next year.

tomByrer commented 8 years ago

Adding 256 color optimization to PNG would be helpful, though there are other tools that do this already: http://css-ig.net/articles/lossy-png-optimization Add lossy jpg compression is problematic; how do you know if too much compression is applied?

pflacson commented 8 years ago

256 color will be Awesome !! I can't wait to see this in your tool ... Keep going this project and thank you !!

sp-1234 commented 7 years ago

256 color is already done pretty well by pngquant. for JPEG (lossless optimization, or lossy (re)compression), there is mozjpeg. IMO this is out of scope.