Derives from jp2_input_box
Derives from kdu_compressed_source
[Declared in "../apps/compressed_io/jp2.h"]
Provides full support for interacting with JP2 files. You may wish to use the jpx_source, since it is able to handle both JP2 files and the much more general JPX files in a consistent manner. Note that the present object has changed in two important ways since Kakadu v3.4.
An important benefit of the changes described above is that it is possible to pass the same jp2_family_src object to multiple jp2_input_box or jp2_input_box-derived objects, so that the JP2 source can be examined in a variety of different ways. In some cases, multiple code-streams may be available from a single source, and each of these can be opened and passed to kdu_codestream::create now. A second benefit, is that the read_header method can be used with caching data sources whose cache entries evolve over time; it may be called multiple times, until sufficient information is available to deduce all relevant header information.
jp2_source (2 forms) {Java: Jp2_source}
~jp2_source [virtual] {Java: Native_destroy}
open [virtual] {Java: Open}
read_header {Java: Read_header}
get_header_bytes {Java: Get_header_bytes}
access_dimensions {Java: Access_dimensions}
access_palette {Java: Access_palette}
access_channels {Java: Access_channels}
access_colour {Java: Access_colour}
access_resolution {Java: Access_resolution}