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

Add jpegrescan support #6

Closed
wants to merge 1 commit into from
Closed

Conversation

codeincontext
Copy link

image_optim doesn't optimise jpegs as well as ImageOptim.app. After routing through each, I discovered that this gem is lacking JPEGrescan support.

After adding this, my image_optim output appears to exactly match that of the desktop app, with the example image I've been testing going from a 0.30% to 6.49% reduction.

JPEGrescan works as a layer over the top of jpegtran, and I've included it in the jpegtran worker (in the same style as http://code.google.com/p/imageoptim/source/browse/trunk/imageoptim/Workers/JpegtranWorker.m). I think this is the best way to provide support without duplicating execution of jpegtran.

More on JPEGrescan: http://news.ycombinator.com/item?id=803839

@ghost ghost assigned toy Jan 14, 2013
@gpakosz
Copy link
Contributor

gpakosz commented Mar 11, 2013

interested in seeing jpegrescan added in order to output progressive jpegs. what do you think?

@toy
Copy link
Owner

toy commented Mar 23, 2013

Jpegrescan integrated, see ac6c585

@toy toy closed this Mar 23, 2013
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.

None yet

3 participants