Jpeg2000Options Class

Summary: Create JPEG2000 (JP2) image files with our API, utilizing advanced wavelet technology
for coding lossless content. Benefit from support for various codecs, including
irreversible and lossless compression, as well as XMP metadata containers, ensuring
versatility and high-quality image creation tailored to your needs.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.Jpeg2000Options

Inheritance: ImageOptionsBase

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
Jpeg2000Options()Initializes a new instance of the Jpeg2000Options class.
Jpeg2000Options(jpeg_2000_options)Initializes a new instance of the Jpeg2000Options class.

Properties

NameTypeAccessDescription
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
codecJpeg2000Codecr/wGets or sets the JPEG2000 codec
commentsstringr/wGets or sets the Jpeg comment markers.
compression_ratiosintr/wGets or sets the Array of compression ratio.
Different compression ratios for successive layers.
The rate specified for each quality level is the desired
compression factor.
Decreasing ratios required.
disposedboolrGets a value indicating whether this instance is disposed.
full_frameboolr/wGets or sets a value indicating whether [full frame].
irreversibleboolr/wGets or sets a value indicating whether use the irreversible DWT 9-7 (true) or use lossless DWT 5-3 compression (default).
multi_page_optionsMultiPageOptionsr/wThe multipage options
paletteIColorPaletter/wGets or sets the color palette.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
sourceSourcer/wGets or sets the source to create image in.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.

Constructor: Jpeg2000Options()

 Jpeg2000Options() 

Initializes a new instance of the Jpeg2000Options class.

Constructor: Jpeg2000Options(jpeg_2000_options)

 Jpeg2000Options(jpeg_2000_options) 

Initializes a new instance of the Jpeg2000Options class.

Parameters:

ParameterTypeDescription
jpeg_2000_optionsJpeg2000OptionsThe Jpeg2000 file format options to copy settings from.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns shallow copy of this instance