Class PngEncoderOptions

java.lang.Object
com.idrsolutions.image.png.options.PngEncoderOptions
All Implemented Interfaces:
com.idrsolutions.image.encoder.options.EncoderOptions

public class PngEncoderOptions extends Object implements com.idrsolutions.image.encoder.options.EncoderOptions
  • Constructor Details

    • PngEncoderOptions

      public PngEncoderOptions()
  • Method Details

    • getOutputFormat

      public com.idrsolutions.image.encoder.OutputFormat getOutputFormat()
      Specified by:
      getOutputFormat in interface com.idrsolutions.image.encoder.options.EncoderOptions
    • setCompressionFormat

      public void setCompressionFormat(com.idrsolutions.image.png.options.PngCompressionFormat pngCompression)
      define compression mode used for Tiff (currently only supports QUANTISED8BITNONE and NONE)
      Parameters:
      pngCompression - algorithm to be used for image compression
    • getCompressionFormat

      public com.idrsolutions.image.png.options.PngCompressionFormat getCompressionFormat()
    • isOptimizeBasedOnColors

      public boolean isOptimizeBasedOnColors()
    • setOptimizeBasedOnColors

      public void setOptimizeBasedOnColors(boolean optimizeBasedOnColors)