Class WebPChunkAlph


  • public final class WebPChunkAlph
    extends AbstractWebPChunk
    ALPH (alpha) chunk.
    
      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                      ChunkHeader('ALPH')                      |
     |                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |Rsv| P | F | C |     Alpha Bitstream...                        |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     
    Since:
    1.0.0-alpha4
    See Also:
    Extended File Format#Alpha
    • Constructor Detail

      • WebPChunkAlph

        public WebPChunkAlph​(int type,
                             int size,
                             byte[] bytes)
                      throws ImagingException
        Create an ALPH chunk.
        Parameters:
        type - chunk type.
        size - chunk size.
        bytes - chunk data.
        Throws:
        ImagingException - if the chunk data and the size provided do not match.