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

fix: cannot access local variable 'quality' ... #33

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

fdintino
Copy link
Owner

Moves the qmin/qmax/quality conversion logic from AvifImagePlugin to _avif.c, where we know whether avif supports the quality encoder option.

This allows users to continue to pass qmin and qmax to save(), even if they are using libavif >= 1.0.0

fixes #32

Moves the qmin/qmax conversion logic from AvifImagePlugin to
_avif.c, where we know whether avif supports the quality encoder option.

This allows users to continue to pass qmin/qmax to save(), even if they
are using libavif >= 1.0.0

fixes #32
@fdintino fdintino merged commit 63ecc8d into main Oct 12, 2023
114 of 119 checks passed
@fdintino fdintino deleted the fix/quality-local-var branch October 12, 2023 21:20
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.

Missing quality setting leads to error with 1.4.0
1 participant