Class Jpeg2000EncoderOptions
java.lang.Object
com.idrsolutions.image.jpeg2000.options.Jpeg2000EncoderOptions
- All Implemented Interfaces:
com.idrsolutions.image.encoder.options.EncoderOptions
public class Jpeg2000EncoderOptions
extends Object
implements com.idrsolutions.image.encoder.options.EncoderOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.idrsolutions.image.encoder.OutputFormat
com.idrsolutions.image.jpeg2000.options.Jpeg2000OutputSubtype
int
Retrieve the image quality level for JPEG2000 output.void
setOutputSubtype
(com.idrsolutions.image.jpeg2000.options.Jpeg2000OutputSubtype outputType) void
setQuality
(int quality) Set the image quality level for JPEG2000 output.
-
Constructor Details
-
Jpeg2000EncoderOptions
public Jpeg2000EncoderOptions()
-
-
Method Details
-
getOutputFormat
public com.idrsolutions.image.encoder.OutputFormat getOutputFormat()- Specified by:
getOutputFormat
in interfacecom.idrsolutions.image.encoder.options.EncoderOptions
-
setOutputSubtype
public void setOutputSubtype(com.idrsolutions.image.jpeg2000.options.Jpeg2000OutputSubtype outputType) -
getOutputSubtype
public com.idrsolutions.image.jpeg2000.options.Jpeg2000OutputSubtype 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
-