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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.idrsolutions.image.png.options.PngCompressionFormat
com.idrsolutions.image.encoder.OutputFormat
boolean
void
setCompressionFormat
(com.idrsolutions.image.png.options.PngCompressionFormat pngCompression) define compression mode used for Tiff (currently only supports QUANTISED8BITNONE and NONE)void
setOptimizeBasedOnColors
(boolean optimizeBasedOnColors)
-
Constructor Details
-
PngEncoderOptions
public PngEncoderOptions()
-
-
Method Details
-
getOutputFormat
public com.idrsolutions.image.encoder.OutputFormat getOutputFormat()- Specified by:
getOutputFormat
in interfacecom.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)
-