ImageGear for C and C++ on Windows v19.4 - Updated
enumJPEG2KFormat
API Reference Guide > JPEG 2000 Component API Reference > JPEG 2000 Component Enumerations Reference > enumJPEG2KFormat

Specifies whether to save the image as a JP2-compatible file or as a raw JPEG 2000 code-stream.

Values:

IG_JPEG2K_FORMAT_CODESTREAM Specifies that the image will be saved as a raw JPEG 2000 code-stream.
IG_JPEG2K_FORMAT_JP2 Specifies that the image will be saved as a JP2-compatible file.

Remarks:

Fully JP2/JPX compatible file contains various metadata such as resolution, color space, palette, XML, etc. Raw code-stream does not store any metadata. See the description of the FILE_FORMAT control parameter (used by the JPEG 2000 format filter).