Skip to content

Commit

Permalink
Merge pull request #28 from una-dinosauria/julieta/effort
Browse files Browse the repository at this point in the history
Allow effort between 1 and 10
  • Loading branch information
olokelo authored May 7, 2024
2 parents 0f18658 + dff918f commit de20bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _jxlpy/_jxl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ cdef class JXLPyEncoder:
endianness: str='native', num_threads: int=0, icc_profile: bytes=b''):

_check_arg(quality, 'quality', (0, 100))
_check_arg(effort, 'effort', (3, 9))
_check_arg(effort, 'effort', (1, 10))
_check_arg(decoding_speed, 'decoding_speed', (0, 4))
_check_arg(num_threads, 'num_threads', (0, 32))
_check_arg(bit_depth, 'bit_depth', (1, 16))
Expand Down

0 comments on commit de20bc6

Please sign in to comment.