Class BkgdChunk

java.lang.Object
com.mcgath.jhove.module.png.PNGChunk
com.mcgath.jhove.module.png.BkgdChunk

public class BkgdChunk extends PNGChunk
The bKGD (background color) chunk
  • Constructor Details

    • BkgdChunk

      public BkgdChunk(int sig, long leng)
      Constructor
      Parameters:
      sig - : the chunktype
      leng - : the length
  • Method Details

    • processChunk

      public void processChunk(RepInfo info) throws Exception
      Process the data in the chunk. All we do is note the presence of the chunk in a property. The greyscale, RGB, and palette backgrounds are all different kinds of data, so make them three different properties so that processing software doesn't get confused.
      Overrides:
      processChunk in class PNGChunk
      Parameters:
      info - : RepInfo object
      Throws:
      Exception