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

Adjust buffer size when quality=keep, fixes #148 (again) #1079

Merged
merged 1 commit into from
Jan 19, 2015

Conversation

wiredfool
Copy link
Member

  • The buffer size hueristic in JpegImageFile needs to take quality=keep into account when bumping up the buffersize.
  • Added tests that should cover known combinations where a larger buffer is necessary. Using a rather incompressible file to make the resulting jpeg as large as possible.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 1e040fe on wiredfool:maxblock into fbc3397 on python-pillow:master.

hugovk added a commit that referenced this pull request Jan 19, 2015
Adjust buffer size when quality=keep, fixes #148 (again)
@hugovk hugovk merged commit 4198a58 into python-pillow:master Jan 19, 2015
@wiredfool wiredfool deleted the maxblock branch October 2, 2017 13:23
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.

3 participants