tjko / jpegoptim

jpegoptim - utility to optimize/compress JPEG files
http://www.iki.fi/tjko/projects.html
GNU General Public License v3.0
1.56k stars 116 forks source link

Add support for reading from other file types like .png #84

Closed phd closed 2 years ago

phd commented 2 years ago

Support for reading from other files types, like PNG, would be a great enhancement for jpegoptim.

Currently converting a PNG file into an optimized JPEG requires an additional step: saving the image as unoptimized JPEG first, before running jpegoptim.

This is also potentially reducing resulting image quality, as it is already lost during this intermediate step.