-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Support custom comments and PLT markers when saving JPEG2000 images #6903
Conversation
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Could you elaborate on this? What are some example of the 'ancient image viewers'? Also, it's required for old image viewers, but the option was only added to OpenJPEG two years ago? |
Well, it's technically one image viewer I'm referring to, it's called 'RICS' and it's used in Pathology and It's built on the Kadaku library. So I've been needing to integrate with/replace it with something more modern. |
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
I didn't think that "add_" was necessary, so I've renamed "add_plt" to just "plt". |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Changes proposed in this pull request:
Adds two new options when saving JPEG2000 images.
comment
parameter to the save function replaces the default "Created by OpenJPEG version" with a given string.add_plt
parameter includes a PLT marker segment codestream, which is required for some ancient image viewers.