Class SbitChunk


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

      • SbitChunk

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

      • 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