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

Use quantization method attributes #5353

Merged
merged 1 commit into from Mar 27, 2021

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Mar 22, 2021

Instead of using 0, 2 and 3 in im.quantize, use the more meaningful MEDIANCUT, FASTOCTREE and LIBIMAGEQUANT.

@radarhere radarhere added Cleanup and removed Cleanup labels Mar 22, 2021
@radarhere radarhere force-pushed the quantize_attributes branch from 5623afc to 4e0bc3b Mar 22, 2021
@hugovk hugovk merged commit 5e1d304 into python-pillow:master Mar 27, 2021
50 checks passed
@radarhere radarhere deleted the quantize_attributes branch Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants