Class WebPChunkAnim
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
-
- org.apache.commons.imaging.formats.webp.chunks.WebPChunkAnim
-
public final class WebPChunkAnim extends AbstractWebPChunk
ANIM (animation) 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('ANIM') | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Background Color | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Loop Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Since:
- 1.0.0-alpha4
- See Also:
- Extended File Format#Animation
-
-
Field Summary
-
Fields inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
bytes
-
-
Constructor Summary
Constructors Constructor Description WebPChunkAnim(int type, int size, byte[] bytes)Create an ANIM chunk.
-
Method Summary
-
Methods inherited from class org.apache.commons.imaging.formats.webp.chunks.AbstractWebPChunk
dump, getBytes, getChunkSize, getPayloadSize, getType, getTypeDescription
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Constructor Detail
-
WebPChunkAnim
public WebPChunkAnim(int type, int size, byte[] bytes) throws ImagingExceptionCreate an ANIM chunk.- Parameters:
type- chunk type.size- chunk size.bytes- chunk data.- Throws:
ImagingException- if the chunk data and the size provided do not match.
-
-