Class Jpeg2000EncoderOptions

java.lang.Object
com.idrsolutions.image.jpeg2000.options.Jpeg2000EncoderOptions
All Implemented Interfaces:
EncoderOptions

public class Jpeg2000EncoderOptions extends Object implements EncoderOptions
  • Constructor Details

    • Jpeg2000EncoderOptions

      public Jpeg2000EncoderOptions()
  • Method Details

    • getOutputFormat

      public OutputFormat getOutputFormat()
      Specified by:
      getOutputFormat in interface EncoderOptions
    • setOutputSubtype

      public void setOutputSubtype(Jpeg2000OutputSubtype outputType)
    • getOutputSubtype

      public 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