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

Removed qmin and qmax #17

Merged
merged 7 commits into from
Jan 25, 2025
Merged

Conversation

radarhere
Copy link

Suggestion for python-pillow#5201

Looking at https://github.com/AOMediaCodec/libavif/blob/main/include/avif/avif.h#L1526, I saw

int minQuantizer;      // Deprecated, use `quality` instead.
int maxQuantizer;      // Deprecated, use `quality` instead.

If I understand that 'quality' was only introduced in 1.0.0, but if these properties are deprecated, then maybe let's not introduce Pillow users to the deprecated idea of qmin and qmax? They can just use 'quality' as a AvifImagePlugin setting consistently instead.

@fdintino
Copy link
Owner

Makes sense to me

@fdintino fdintino merged commit 1410d23 into fdintino:libavif-plugin Jan 25, 2025
49 of 50 checks passed
@radarhere radarhere deleted the libavif-plugin branch January 25, 2025 19:29
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.

2 participants