summaryrefslogtreecommitdiff
path: root/wrapping/java/openjp2/JavaOpenJPEGDecoder.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-08-28 14:57:49 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-08-28 14:57:49 +0200
commit8f92fc97913bec7ffa2dc10d062c0cdd19da20e4 (patch)
tree021b6178803e111dea68686b5dae4a4e757222d3 /wrapping/java/openjp2/JavaOpenJPEGDecoder.c
parent5a4a10120a648848de7522245f8671c3ce285dbc (diff)
Make opj_set_decode_area() and opj_decode() take into account opj_set_decoded_resolution_factor() (#1006, affect API use)
* Better document usage of opj_set_decode_area(), ie expecting coordinates in full resolution/reference grid even if requesting at a lower resolution factor * Make sure that image->comps[].factor is set by opj_set_decode_area() and opj_decode() from the value specified in opj_set_decoded_resolution_factor() * opj_decompress: add 2 environmenet variables to test alternate ways of using the API, namely USE_OPJ_SET_DECODED_RESOLUTION_FACTOR=YES to use opj_set_decoded_resolution_factor() instead of parameters.cp_reduce, and SKIP_OPJ_SET_DECODE_AREA=YES to not call opj_set_decode_area() if -d is not specified.
Diffstat (limited to 'wrapping/java/openjp2/JavaOpenJPEGDecoder.c')
0 files changed, 0 insertions, 0 deletions