rflynn / imgmin

Lossy image optimization
MIT License
641 stars 32 forks source link

Optimize huffman trees, and make all jpegs progressive. #29

Open 133794m3r opened 10 years ago

133794m3r commented 10 years ago

I don't know how hard this'd be or whether or not imagemagick allows you to optimize the huffman trees/make the images progressive but I do know that jpegtran allows that to happen on its own. Adding those options would also greatly help reduce the total space required.

Crap I can't edit it.

So here's the rest of it.

The optimization passes should add that at the final step once you've found the best quality level since it definitely helps reduce the total size.

OK, it's not a ton with the example images(in the after folder). It goes down by ~4%. Which isn't insane, but still the whole idea of this thing to is to make the images as small as possible without visual quality loss.

rflynn commented 10 years ago

Thanks for the info, I will look into it.

brusch commented 10 years ago

Any updates on this?