- <init>
Constructs a default instance of PNGDecodeParam.
- getDisplayExponent
Returns the current value of the display exponent parameter. By default, the
display exponent is equ
- getExpandGrayAlpha
Returns the current setting of the gray/alpha expansion.
- getExpandPalette
Returns true if palette-color images will be expanded to produce full-color
output.
- getGenerateEncodeParam
Returns true if an instance ofPNGEncodeParam will be available after an image
has been decoded via t
- getOutput8BitGray
Returns the current value of the 8-bit gray output parameter.
- getPerformGammaCorrection
Returns true if gamma correction is to be performed on the image data. The
default is true. If gamma
- getUserExponent
Returns the current value of the user exponent parameter. By default, the user
exponent is equal to
- setDisplayExponent
Sets the display exponent to a given value. The exponent must be positive. If
not, anIllegalArgument
- setEncodeParam
Sets the current encoder param instance. This method is intended to be called by
the PNG decoder and
- setExpandPalette
If set, palette color images (PNG color type 3) will be decoded into full-color
(RGB) output images.
- setPerformGammaCorrection
Turns gamma corection of the image data on or off.