Returns an integer identifier which should match one
of the compression types described below. Note, the
Kakadu tool set does not attempt to provide explicit
support for anything other than JPEG2000 code-streams.
-
JP2_COMPRESSION_TYPE_NONE: The image data is uncompressed, with samples stored
in component-interleaved fashion. All components must
have the same bit-depth and the same dimensions. Each
scan line commences on a byte boundary, but subsequent
samples are bit packed so that at most the trailing
bits of the last byte in each scan line are unused.
-
JP2_COMPRESSION_TYPE_MH: The basic algorithm in ITU-T Rec. T.4, known as modified
Huffman coding. This option is valid only for bi-level
imagery.
-
JP2_COMPRESSION_TYPE_MR: The basic algorithm in ITU-T Rec. T.4, known as modified
READ. This option is valid only for bi-level imagery.
-
JP2_COMPRESSION_TYPE_MMR: The basic algorithm in ITU-T Rec. T.6, known as modified
modified READ. This option is valid only for bi-level
imagery.
-
JP2_COMPRESSION_TYPE_JBIG_B: JBIG compression; use this value only for bi-level
imagery.
-
JP2_COMPRESSION_TYPE_JPEG: JPEG compression.
-
JP2_COMPRESSION_TYPE_JLS: JPEG-LS compression.
-
JP2_COMPRESSION_TYPE_JPEG2000: Any valid JPEG2000 code-stream, including Part 1
and Part 2 code-streams.
-
JP2_COMPRESSION_TYPE_JBIG2: The JBIG2 algorithm.
-
JP2_COMPRESSION_TYPE_JBIG: Any code-stream allowed by the original JBIG standard,
including multi-level imagery.