Closed fdintino closed 1 year ago
Moves the qmin/qmax/quality conversion logic from AvifImagePlugin to _avif.c, where we know whether avif supports the quality encoder option.
AvifImagePlugin
_avif.c
quality
This allows users to continue to pass qmin and qmax to save(), even if they are using libavif >= 1.0.0
qmin
qmax
save()
fixes #32
Moves the qmin/qmax/quality conversion logic from
AvifImagePlugin
to_avif.c
, where we know whether avif supports thequality
encoder option.This allows users to continue to pass
qmin
andqmax
tosave()
, even if they are using libavif >= 1.0.0fixes #32