Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for mozjpeg #4

Merged
merged 1 commit into from
Oct 6, 2014
Merged

Added support for mozjpeg #4

merged 1 commit into from
Oct 6, 2014

Conversation

crass00
Copy link
Contributor

@crass00 crass00 commented Oct 5, 2014

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

added mozjpeg before jpegrescan optimization as if it's installed it
does the same optimization in half the time
@ajslater
Copy link
Owner

ajslater commented Oct 6, 2014

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
Copy link
Owner

ajslater commented Oct 6, 2014

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

ajslater added a commit that referenced this pull request Oct 6, 2014
Added support for mozjpeg
@ajslater ajslater merged commit 2e00d48 into ajslater:master Oct 6, 2014
@ajslater
Copy link
Owner

ajslater commented Oct 6, 2014

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:

#4
Commit Summary

  • Added support for mozjpeg

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants