-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Multi-value of jp2:quality does not work #1873
Comments
yoya
added a commit
to yoya/ImageMagick
that referenced
this issue
Mar 24, 2020
BUG: cp_disto_alloc is not set back to 0 by only setting cp_fixed_quality=1 when specifying -define jp2:quality (and -quality) ref) ImageMagick#1873
3 tasks
yoya
changed the title
Multi-value of jp:quality does not work
Multi-value of jp2:quality does not work
Mar 26, 2020
urban-warrior
pushed a commit
that referenced
this issue
Apr 1, 2020
urban-warrior
pushed a commit
to ImageMagick/ImageMagick6
that referenced
this issue
Apr 1, 2020
Thanks for the patch. It appears to resolve the problem you reported. |
Here's what I tested with the ImageMagick/master HEAD (3c92cc1) branch.
Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Description
Even if the values of jp2:quality are arranged in ascending order as described above, it's still an error because it should be in descending order.
Steps to Reproduce
System Configuration
OpenJPEG checks the tcp_rates array, even though ImageMagick sets the tcp_distoratio array to a value in jp2:quality.
Probably because ImageMagick set cp_disto_alloc=1 at the beginning to make the default lossless, but did not set cp_disto_alloc back to 0 just by setting cp_fixed_quality=1 when jp2:quality is specified.
The text was updated successfully, but these errors were encountered: