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

clean up PILLOW_JPEG-options #578

Merged
merged 1 commit into from Nov 19, 2015
Merged

Conversation

seichner
Copy link
Contributor

I was not happy with the confusing options for PIL-JPEG settings PILLOW_JPEG_SUBSAMPLING (but not PILLOW_JPEG_QTABLES), and PILLOW_COPY_JPEG_SETTINGS (which overrides both QUALITY and PILLOW_JPEG_SUBSAMPLING).

So i tried to clean it up:

  • allows explicit setting or keeping for both subsampling and qtables (PILLOW_JPEG_SUBSAMPLING, PILLOW_JPEG_QTABLES)
  • removes PILLOW_COPY_JPEG_SETTINGS, as it can now be achieved by setting both SUBSAMPLING and QTABLES to 'keep'

@seichner
Copy link
Contributor Author

happily looking fwd to any feedback! :)

@seichner
Copy link
Contributor Author

cc @phoet

@phoet phoet force-pushed the clean_up_jpeg_config branch 2 times, most recently from 46e8f18 to 6facbfa Compare October 22, 2015 09:50
masom added a commit that referenced this pull request Nov 19, 2015
@masom masom merged commit 4bfb5ab into thumbor:master Nov 19, 2015
christianjgreen pushed a commit to fanhero/thumbor that referenced this pull request Aug 29, 2017
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

2 participants