Class IhdrChunk


  • public class IhdrChunk
    extends PNGChunk
    Representation of the IHDR (header) chunk
    • Constructor Detail

      • IhdrChunk

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

      • processChunk

        public void processChunk​(RepInfo info)
                          throws Exception
        The IHDR chunk contains image information in a fixed format. I don't think the spec says it can't have extra bytes which would just be padding.
        Overrides:
        processChunk in class PNGChunk
        Throws:
        Exception