Class WebPChunkAnmf


public final class WebPChunkAnmf extends WebPChunk
ANMF (animation single frame) 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('ANMF')                      |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                        Frame X                |             ...
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 ...          Frame Y            |   Frame Width Minus One     ...
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 ...             |           Frame Height Minus One              |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                 Frame Duration                |  Reserved |B|D|
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :                         Frame Data                            :
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 
Since:
1.0-alpha4
See Also:
  • Constructor Details

    • WebPChunkAnmf

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