olokelo / jxlpy

Cython bindings and Pillow plugin for JPEG XL
MIT License
49 stars 12 forks source link

Allow negative quality values #11

Open phiresky opened 2 years ago

phiresky commented 2 years ago

jxl allows "quality" values between -inf and 100. trying to use a negative quality value with jxlpy gives this error:

_jxlpy.JxlPyArgumentInvalid: quality (should be in range 0..100)