Closed crass00 closed 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.
Looks good. mozjpeg actually compressed my "pre-optimized" test image by 0.04% extra.
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
- M picopt.py https://github.com/ajslater/picopt/pull/4/files#diff-0 (29)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/ajslater/picopt/pull/4.
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