apng

'89 50 4e 47 0d 0a 1a 0a'(hex) > IHDRchunk > other chunks > IENDchunk

chunk

category
png
png
apng
png
apng
apng
png
name
IHDR
PLTE
acTL
IDAT
fcTL
fdAT
IEND
length
00 00 00 0d
4bytes
00 00 00 08
4bytes
00 00 00 1a
4bytes
00 00 00 00
type
49 48 44 52
50 4c 54 45
61 63 54 4c
49 44 41 54
66 63 54 4c
66 64 41 54
49 45 4e 44
data
13bytes
?
8bytes
?
26bytes
?
0byte
crc
4bytes
4bytes
4bytes
4bytes
4bytes
4bytes
ae 42 60 82
IHDR color_type = 03


IHDR


data

width(4bytes)
height(4bytes)
bit_depth(1byte)
color_type(1byte)
compression_method(1byte)
filter_method(1byte)
interlace_method(1byte)
grayscale
01,02,04,08,10
00
rgb
08,10
02
PLTE
01,02,04,08
03
grayscale(alpha)
08,10
04
rgb(alpha)
08,10
06


PLTE


data

palette(1byte)
...


acTL


data

num_frames(4bytes)
num_plays(4bytes)


fcTL


data

sequence_mumber(4bytes)
widdd(4bytes)
height(4bytes)
x_offset(4bytes)
y_offset(4bytes)
deley_num(2bytes)
deley_den(2bytes)
dispose_op(1byte)
blend_op(1byte)


fdAT


data

sequence_mumber(4bytes)
frame_data(?)