Class Jpeg2000EncoderOptions

  • All Implemented Interfaces:
    com.idrsolutions.image.encoder.options.EncoderOptions

    public class Jpeg2000EncoderOptions
    extends Object
    implements com.idrsolutions.image.encoder.options.EncoderOptions
    • Constructor Detail

      • Jpeg2000EncoderOptions

        public Jpeg2000EncoderOptions()
    • Method Detail

      • getOutputFormat

        public com.idrsolutions.image.encoder.OutputFormat getOutputFormat()
        Specified by:
        getOutputFormat in interface com.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