Package org.apache.commons.imaging.formats.png.chunks

# 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 final class PngChunkPlte extends PngChunk

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PngChunkPlte(int length, int chunkType, int crc, byte[] bytes)`

- ## Method Summary

  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, getChunkType, getCrc, getDataStream, getLength, getPropertyBits, isAncillary, isPrivate, isReserved, isSafeToCopy`

  ### Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser

  `debugNumber, debugNumber, getByteOrder, setByteOrder`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PngChunkPlte

    public PngChunkPlte(int length, int chunkType, int crc, byte[] bytes) throws ImagingException, IOException
    Throws:
      `ImagingException`
      `IOException`

- ## Method Details

  - ### correct

    public void correct(GammaCorrection gammaCorrection)

  - ### getRgb

    public int[] getRgb()

  - ### getRgb

    public int getRgb(int index) throws ImagingException
    Throws:
      `ImagingException`