# Uses of Class
com.sixlegs.png.PngConfig.Builder

## Uses of PngConfig.Builder in com.sixlegs.png

Methods in com.sixlegs.png that return PngConfig.Builder
Modifier and Type
Method
Description
`PngConfig.Builder`
PngConfig.Builder.`convertIndexed(boolean convertIndexed)`
Whether to convert images with an indexed color model (paletted and 1/2/4/8-bit grayscale) to use a component color model.
`PngConfig.Builder`
PngConfig.Builder.`defaultGamma(float defaultGamma)`
Sets the default gamma value.
`PngConfig.Builder`
PngConfig.Builder.`displayExponent(float displayExponent)`
Sets the default display exponent.
`PngConfig.Builder`
PngConfig.Builder.`gammaCorrect(boolean gammaCorrect)`
Enables or disables gamma correction.
`PngConfig.Builder`
PngConfig.Builder.`progressive(boolean progressive)`
Enables or disables progressive display for interlaced images.
`PngConfig.Builder`
PngConfig.Builder.`readLimit(int readLimit)`
Configures how much of the image to read.
`PngConfig.Builder`
PngConfig.Builder.`reduce16(boolean reduce16)`
Enables or disables 16-bit reduction.
`PngConfig.Builder`
PngConfig.Builder.`sourceRegion(Rectangle sourceRegion)`
Decode only a particular region of the source image.
`PngConfig.Builder`
PngConfig.Builder.`sourceSubsampling(int xsub, int ysub, int xoff, int yoff)`
Reduce the size of the decoded image (or source region) by only using periodic rows and/or columns of the image.
`PngConfig.Builder`
PngConfig.Builder.`warningsFatal(boolean warningsFatal)`
Configures whether warnings should be treated as fatal errors.