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
-
public class PngChunkPlte extends PngChunk
-
-
Constructor Summary
Constructors Constructor Description PngChunkPlte(int length, int chunkType, int crc, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Constructor Detail
-
PngChunkPlte
public PngChunkPlte(int length, int chunkType, int crc, byte[] bytes) throws ImageReadException, java.io.IOException
- Throws:
ImageReadException
java.io.IOException
-
-
Method Detail
-
getRgb
public int[] getRgb()
-
getRGB
public int getRGB(int index) throws ImageReadException
- Throws:
ImageReadException
-
correct
public void correct(GammaCorrection gammaCorrection)
-
-