Class PngEncoderOptions
java.lang.Object
com.idrsolutions.image.png.options.PngEncoderOptions
- All Implemented Interfaces:
EncoderOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCompressionFormat
(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
- Specified by:
getOutputFormat
in interfaceEncoderOptions
-
setCompressionFormat
define compression mode used for Tiff (currently only supports QUANTISED8BITNONE and NONE)- Parameters:
pngCompression
- algorithm to be used for image compression
-
getCompressionFormat
-
isOptimizeBasedOnColors
public boolean isOptimizeBasedOnColors() -
setOptimizeBasedOnColors
public void setOptimizeBasedOnColors(boolean optimizeBasedOnColors)
-