The ImageGear.Formats.JPEG2K namespace allows you to use the diverse functionality of the JPEG 2000 wavelet-based compression technique. It provides the following advantages:
- Excellent image quality at high compression ratios
- Fast compression and decompression
- Both lossless (guaranteed pixel identity) and lossy image compression options
- User-controlled compression ratio
- Quicklook generation and scaled image reconstruction based on embedded coding techniques
- Elimination of JPEG-like blocking artifacts
All these features outperform all other image compression techniques. JPEG 2000 image compression is best suited for compression either of sensitive images, because of the lossless feature, or for its excellent image quality at high compression ratios for uses such as transmission in low-bandwidth applications.
The ImageGear.Formats.JPEG2K namespace provides support for JPEG 2000 and JPX formats.
The JPEG 2000 standard provides a set of features that take advantage of new technologies, making them important to many high-end and emerging applications. It addresses areas where current standards fail to produce the best quality or performance and provides capabilities to markets that currently do not use compression. The markets and applications better served by the JPEG 2000 standard are Internet, color facsimile, printing, scanning (consumer and pre-press), digital photography, remote sensing, mobile, medical imagery, digital libraries/archives and eCommerce. Each application area imposes some requirements that the standard should fulfill.
The ImageGear JPEG2K namespace allows you to create an imaging application that supports JPEG 2000 Standard Part I (JP2, J2K, JPC) and JPEG 2000 Part II (JPX) image file formats.
- JPEG 2000 Standard Part I (JP2, J2K, JPC) provides a set of features that are of importance to many high-end and emerging applications by taking advantage of new technologies. It addresses areas where current standards fail to produce the best quality or performance and provides capabilities to markets that currently do not use compression. The markets and applications better served by the JPEG 2000 standard are Internet, color facsimile, printing, scanning (consumer and pre-press), digital photography, remote sensing, mobile, medical imagery, digital libraries/archives and eCommerce. Each application area imposes some requirements that the standard should fulfill.
- JPEG 2000 Part II (JPX) is an extension to the JPEG 2000 file format. It is provided for the exchange of compressed image files between application environments. Many applications may choose to use this optional file format to contain JPEG 2000 compressed image data. While the JP2 file format provides a method by which applications can interchange image files in such a way that all conforming readers can properly interpret and display the image, some applications require extensions to the JP2 file format that would prevent the file from being properly interpreted by a conforming reader. For example, an image encoded in a CMYK color space will not be properly interpreted by a conforming JP2 reader. To avoid such confusions JPX format is used in applications that require functionality or data structures beyond those defined in the JP2 file format.
To use the support for JPEG 2000 formats as well as efficiently and dynamically stream portions of a JPEG 2000 compressed image over a network, add JPEG 2000 formats to ImageGear's global formats list, as follows:
C# |
Copy Code |
ImGearFileFormats.Filters.Insert(0, ImGearJPEG2K.CreateJP2Format());
ImGearFileFormats.Filters.Insert(0, ImGearJPEG2K.CreateJPXFormat()); |
For saving images, refer to the topic Saving JPEG 2000 and JPX Images in Lossless Mode.
For more information about JP2 and JPX formats, visit: http://jpeg.org/jpeg2000/index.html.
This section provides information about the following: