Class PngEncoderOptions

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

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

      • PngEncoderOptions

        public PngEncoderOptions()
    • Method Detail

      • 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
      • getCompressionFormat

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

        public boolean isOptimizeBasedOnColors()
      • setOptimizeBasedOnColors

        public void setOptimizeBasedOnColors​(boolean optimizeBasedOnColors)