ajslater / picopt

A multi format lossless image optimizer that uses external tools
GNU General Public License v3.0
108 stars 11 forks source link

Added support for mozjpeg #4

Closed crass00 closed 10 years ago

crass00 commented 10 years ago

Hi,

I've added mozjpeg support to the script if your interested. It's twice as fast as jpegrescan but does the same optimization. It requires that someone has created a symlink to there seperatly compiled jpegtran and called it mozjpeg which seems to be the common way people are doing it.

Cheers Alex

ajslater commented 10 years ago

The upstream packager's choice to not automatically provide a 'mozjpeg' symlink is puzzling to me. Thanks for this patch. I'll test it out a bit.

ajslater commented 10 years ago

Looks good. mozjpeg actually compressed my "pre-optimized" test image by 0.04% extra.

ajslater commented 10 years ago

Released picopt v1.1 with your patch & some documentation about the packaging state of mozjpeg. Also I changed the disable switch to -Z

Thanks again,

AJ

On Sun, Oct 5, 2014 at 2:59 PM, Alex notifications@github.com wrote:

Hi,

I've added mozjpeg support to the script if your interested. It's twice as fast as jpegrescan but does the same optimization. It requires that someone has created a symlink to there seperatly compiled jpegtran and called it mozjpeg which seems to be the common way people are doing it.

Cheers

Alex

You can merge this Pull Request by running

git pull https://github.com/crass00/picopt master

Or view, comment on, or merge it at:

https://github.com/ajslater/picopt/pull/4 Commit Summary

  • Added support for mozjpeg

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/ajslater/picopt/pull/4.