JPEG 2000 (GeoJP2/GMLJP2) Writer Feature Type Format Attributes

Attribute Name

Contents

jpeg2000_compression_
level

Sets the quality of the compression.

The range of the value is from 0 (best quality) to 100 (worst quality). The default value is 75. Setting the value to 0 enables lossless compression.

This is a writer attribute.

jpeg2000_layers The coded data of each code-block is distributed across one or more layers in the codestream. Each layer successively and monotonically improves the image quality. This attribute specifies the number of layers to generate. This is a writer attribute.
jpeg2000_profile

Particular implementations of JPEG 2000 core coding may be established as profiles.

The following are valid values for this attribute:

  • profile0
  • profile1
  • profile2
  • npje
  • epje

Profile 0, 1, and 2 are part of the JPEG 2000 standard. Profile 0 codestreams are not allowed to use some of the features of JPEG 2000, but still provide many of the features of JPEG 2000. Profile 1 codestreams are only slightly limited from JPEG 2000. Profile 2 codestreams have no constraints. Profile 0 has the greatest compatibility.

NATO and NGA (National Geospatial-Intelligence Agency) have established additional profiles for certain workflows. These include NPJE (NSIF Preferred JPEG 2000 Encoding) and EPJE (Exploitation Preferred JPEG 2000 Encoding).

This is a writer attribute.

jpeg2000_tile_size_x

jpeg2000_tile_size_y

Specifies the tile size.

Note that the selected profile may impose restrictions on the tile size.

Profile 0 requires square tiles that are powers of two with a minimum size of 64x64 and a maximum size of 128x128, or one tile for the whole image.

Profile 1 requires square tiles that are powers of two with a minimum size of 64x64 and a maximum size of 1024x1024, or one tile for the whole image.

Note that when using high compression levels, selecting a larger tile size may produce smaller files (in terms of file size) that are more accurate (visually) and can be read faster.

These are writer attributes.

jpeg2000_tab_file_generation

Enables or disables the generation of a TAB file along with the output image. The value can be yes or no. The default value is yes. This is a writer attribute.