JasPer  4.2.4
Images, Sequences, and Color Management

API References

Images

An image is represented by the type jas_image_t. An image component is represented by the type jas_image_cmpt_t.

The image-format table contains an entry for each codec that is supported by the JasPer library. More specifically, an entry in the table will be present for each codec whose support was included in the JasPer library when the library was built. A codec may be either in an enabled or disabled state. The default value for the enable/disable setting is specified when the library is built. The enable/disable setting can also be changed (from the default) at run time. Most functions that query the image-format table ignore (or skip) entries that correspond to disabled codecs. The default build-time configuration settings for JasPer are such that codecs that are experimental or dangerous (due to posing security risks) are disabled by default.

The following functions are provided for image creation/destruction:

The following functions are provided for image encoding/decoding:

The following functions are provided for various other functionality for images:

The following functions are provided for accessing/manipulating image components:

The following functions are provided for accessing/manipulating the image-format table:

Color Management

The JasPer library provides basic support for color management. A color-management (CM) profile is used to describe the color space used by an image. The following function are provided for accessing/manipulating CM profiles:

The following functions are provided for accessing/manipulating color spaces:

ICC Profiles

The JasPer library offers support for managing ICC profiles. The following functions are provided for managing such profiles:

Sequences and Matrices

The JasPer library provides classes for representing matrices and both 1-D and 2-D sequences.

Matrices are represented in JasPer using the jas_matrix_t class. A list of the various functions/macros provided for this class is follows:

Sequences in 2-D are represented using the jas_seq2d_t class. In effect, a 2-D sequence is simply a matrix whose starting row and column indices are arbitrary (instead of being fixed at zero as in the case of a matrix). A list of the various functions/macros provided for this class is follows:

Sequences in 1-D are represented using the jas_seq_t class. A list of the various functions/macros provided for this class is follows: