| synopsis || functions |

jp2_dimensions

Java: Jp2_dimensions

[Declared in "../apps/compressed_io/jp2.h"]


Synopsis

Manages dimensional attributes recorded in the "Image Header Box" of a JP2/JPX/MJ2 file (and perhaps other JP2-family file formats). Although this box is mandatory, the information which it records is redundant with respect to that provided by an embedded JPEG2000 code-stream, and also sufficiently incomplete as to be of only limited use. Applications are advised to use the dimensional attributes offered by JPEG2000 code-streams, except where the embedded code-stream does not conform to the JPEG2000 set of standards (e.g., it might be a JPEG or JBIG code-stream). The get_compression_type function may be used to determine whether or not the code-stream type is JPEG2000.

Objects of this class are merely interfaces to an internal object, which cannot be directly created by an application. Creation and destruction of the internal object, as well as saving and reading of the associated JP2 boxes are capabilities reserved for the internal machinery associated with the file format manager which provides the interface.

Objects which can provide a non-empty jp2_dimensions interface include jp2_source, jp2_target, jpx_codestream_source, jp2_codestream_target, mj2_video_source and mj2_video_target.


Public Functions

jp2_dimensions (2 forms)

exists {Java: Exists}

operator!

copy {Java: Copy}

init (2 forms) {Java: Init}

set_precision {Java: Set_precision}

set_ipr_box_available {Java: Set_ipr_box_available}

get_size {Java: Get_size}

get_num_components {Java: Get_num_components}

colour_space_known {Java: Colour_space_known}

get_bit_depth {Java: Get_bit_depth}

get_signed {Java: Get_signed}

get_compression_type {Java: Get_compression_type}

is_ipr_box_available {Java: Is_ipr_box_available}


| top || synopsis || functions |