jp2_dimensions access_dimensions( )
Java: Jp2_dimensions Access_dimensions( )
[Declared in "../apps/compressed_io/jpx.h"]
Provides an interface which may be used for setting up the information to be written to the Image Header (ihdr) and Bits Per Component (bpcc) boxes.
You ARE REQUIRED to complete this initialization before calling jpx_target::write_headers. The most convenient way to initialize the dimensions is usually to use the second form of the overloaded jp2_dimensions::init function, passing in the finalized siz_params object returned by kdu_codestream::access_siz.