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

JPEG-LS near-lossless doesn't allow error bounds greater than 9 #119

Closed
Messier-16 opened this issue Nov 18, 2024 · 1 comment
Closed

JPEG-LS near-lossless doesn't allow error bounds greater than 9 #119

Messier-16 opened this issue Nov 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Messier-16
Copy link

Especially when compressing uint16 images, it is important for me to be able to allow an error bound of more than 9, but for some reason, line 92 in _jpegls.pyx restricts the max value to 9: int32_t near_lossless = _default_value(level, 0, 0, 9)

@cgohlke cgohlke added the bug Something isn't working label Nov 18, 2024
@cgohlke
Copy link
Owner

cgohlke commented Nov 18, 2024

Thank you for reporting the issue. The upper limit will be removed in the next version.

@cgohlke cgohlke closed this as completed Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants