jbaiter / jpegtran-cffi

Fast, (mostly) lossless JPEG transformations with Python
http://jpegtran-cffi.readthedocs.org
MIT License
145 stars 23 forks source link

What is the equivalent for jpegtran's -optimize flag? #13

Open Armannas opened 9 years ago

Armannas commented 9 years ago

I'd like to losslessly compress all my images using jpegtran's huffman coding based lossless compression (available through the -optimize flag). Can I access this through jpegtran-cffi? I've tried simply using the .save() function but the filesize stays the same.

jbaiter commented 8 years ago

This is currently not exposed, but feel free to submit a PR that implements this :-)

Armannas commented 8 years ago

I hope to. Thx