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 TypeMethodDescriptionvoid
correct
(GammaCorrection gammaCorrection) int[]
getRgb()
int
getRGB
(int index) Methods inherited from class org.apache.commons.imaging.formats.png.chunks.PngChunk
getBytes, getDataStream, getPropertyBits
Methods 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:
ImageReadException
IOException
-
-
Method Details
-
getRgb
public int[] getRgb() -
getRGB
- Throws:
ImageReadException
-
correct
-