Class PngEncoderOptions

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

public class PngEncoderOptions extends Object implements EncoderOptions
  • Constructor Details

    • PngEncoderOptions

      public PngEncoderOptions()
  • Method Details

    • getOutputFormat

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

      public void setCompressionFormat(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 PngCompressionFormat getCompressionFormat()
    • isOptimizeBasedOnColors

      public boolean isOptimizeBasedOnColors()
    • setOptimizeBasedOnColors

      public void setOptimizeBasedOnColors(boolean optimizeBasedOnColors)