Class Jpeg2000EncoderOptions
java.lang.Object
com.idrsolutions.image.jpeg2000.options.Jpeg2000EncoderOptions
- All Implemented Interfaces:
EncoderOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Retrieve the image quality level for JPEG2000 output.void
setOutputSubtype
(Jpeg2000OutputSubtype outputType) void
setQuality
(int quality) Set the image quality level for JPEG2000 output.
-
Constructor Details
-
Jpeg2000EncoderOptions
public Jpeg2000EncoderOptions()
-
-
Method Details
-
getOutputFormat
- Specified by:
getOutputFormat
in interfaceEncoderOptions
-
setOutputSubtype
-
getOutputSubtype
-
setQuality
public void setQuality(int quality) Set the image quality level for JPEG2000 output. The quality level can be between 1 - 100 and if not set defaults to 50. Higher quality produces better quality JPEG2000 files but increases output data size.For lossless encoding set the quality level to 100
- Parameters:
quality
- Quality level to set for JPEG2000 output
-
getQuality
public int getQuality()Retrieve the image quality level for JPEG2000 output. The quality level can be between 1 - 100 and if not set defaults to 50. Higher quality produces better quality JPEG2000 files but increases output data size.- Returns:
- Quality level used for JPEG2000 output
-