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

Add capability to decode only a subset of all components of an image. #1022

Merged
merged 2 commits into from
Sep 26, 2017

Commits on Sep 19, 2017

  1. Add capability to decode only a subset of all components of an image.

    This adds a opj_set_decoded_components(opj_codec_t *p_codec,
    OPJ_UINT32 numcomps, const OPJ_UINT32* comps_indices) function,
    and equivalent "opj_decompress -c compno[,compno]*" option.
    
    When specified, neither the MCT transform nor JP2 channel transformations
    will be applied.
    
    Tests added for various combinations of whole image vs tiled-based decoding,
    full or reduced resolution, use of decode area or not.
    rouault committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    7e2b6be View commit details
    Browse the repository at this point in the history
  2. opj_set_decoded_components(): add a provision for a apply_color_trans…

    …forms parameter in case we support it in the future
    rouault committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    e17bbde View commit details
    Browse the repository at this point in the history