Class PngChunkPlte
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.png.chunks.PngChunk
org.apache.commons.imaging.formats.png.chunks.PngChunkPlte
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcorrect(GammaCorrection gammaCorrection) int[]getRgb()intgetRGB(int index) Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk
getBytes, getDataStream, getPropertyBitsMethods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
rgb
private final int[] rgb
-
-
Constructor Details
-
PngChunkPlte
public PngChunkPlte(int length, int chunkType, int crc, byte[] bytes) throws ImageReadException, IOException - Throws:
ImageReadExceptionIOException
-
-
Method Details
-
getRgb
public int[] getRgb() -
getRGB
- Throws:
ImageReadException
-
correct
-