Class SbitChunk

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

public class SbitChunk extends PNGChunk
The sBIT (significant bits) chunk
  • Constructor Details

    • SbitChunk

      public SbitChunk(int sig, long leng)
      Constructor
  • Method Details

    • processChunk

      public void processChunk(RepInfo info) throws Exception
      The SBIT chunk contains 1 to 4 bytes of information giving the number of significant bits per color. Ideally, we should check this against the color model.
      Overrides:
      processChunk in class PNGChunk
      Throws:
      Exception