APNG Specification: Difference between revisions

Jump to navigation Jump to search
Remove oFFs line as per pnglist discussion
(Clarify that frame timings are independent of decoding time)
(Remove oFFs line as per pnglist discussion)
Line 176: Line 176:


Each frame inherits every property specified by any critical or ancillary chunks before the first `IDAT` in the file, except the width and height, which come from the `fcTL` chunk.
Each frame inherits every property specified by any critical or ancillary chunks before the first `IDAT` in the file, except the width and height, which come from the `fcTL` chunk.
If the PNG `oFFs` chunk is present, it supplies offsets of the canvas that are in addition to the frame's `x_offset` and `y_offset`.


If the PNG `pHYs` chunk is present, the APNG images and their `x_offset` and `y_offset` values must be scaled in the same way as the main image. Conceptually, such scaling occurs while mapping the output buffer onto the canvas.
If the PNG `pHYs` chunk is present, the APNG images and their `x_offset` and `y_offset` values must be scaled in the same way as the main image. Conceptually, such scaling occurs while mapping the output buffer onto the canvas.
18

edits

Navigation menu