ImageGear .NET v25.0 - Updated
JPEG 2000 Part II (JPX)
User Guide > How to Work with... > JPEG 2000 > JPEG 2000 Part II (JPX)

JPEG 2000 Part II (JPX) defines a file architecture rather than a specific, fixed set of data structures that will be found in a file. The ImageGear.Formats.JPEG2K Namespace provides you with the support of the following important JPX features:

Enabling JPX File Format

To enable JPX file format in your project, add a reference to ImageGear.Formats.Jpeg2k Assembly. Specify this directive:

C#
Copy Code
using ImageGear.Formats.JPEG2K;

and use this API:

C#
Copy Code
ImGearFileFormats.Filters.Add( ImGearJPEG2K.CreateJPXFormat());

See the JPX section of the File Formats Reference for a list of bit depths and color spaces supported for reading and writing.