-
Notifications
You must be signed in to change notification settings - Fork 466
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
the docs don't describe bpp and prec in opj_image_comp very well #1379
Comments
You can't expect everyone who wants to quickly read/write a file to go through the spec and then figure out how the spec maps onto the API presented by this library, rather than quickly scanning through the docs?
I'm happy to write something, but what am I searching for? Even just having the docs link to the spec and use terms that appear in the them would help! |
in opj_image_comp structure (and opj_image_comptparm, but that one is not used in the public API) bpp was redundant with prec, and almost never set by the library, except by opj_image_create(). This change should hopefully not impact existing, working, users of the API, which should already have used prec to get things working. Fixes uclouvain#1379
#1383 should help clarifying, and cleaning up a bit the lib |
in opj_image_comp structure (and opj_image_comptparm, but that one is not used in the public API) bpp was redundant with prec, and almost never set by the library, except by opj_image_create(). This change should hopefully not impact existing, working, users of the API, which should already have used prec to get things working. Fixes uclouvain#1379
in opj_image_comp and opj_image_comptparm structures. bpp was redundant with prec, and almost never set by the library, except by opj_image_create(). This change should hopefully not impact existing, working, users of the API, which should already have used prec to get things working. Fixes uclouvain#1379
@rouault it wasn't obvious to me that |
as appears in src/lib/openmj2/openjpeg.h:
bpp
is described asand
prec
as:which doesn't help people new to the format, leading to issues like #1343 and stackoverflow qustions like: https://stackoverflow.com/q/66386457/1358308
I'd be happy to make a pull request, but am not sure how to describe them
The text was updated successfully, but these errors were encountered: