APNG Specification: Difference between revisions

Jump to navigation Jump to search
Clarify that frame timings are independent of decoding time
m (Minor editorial changes suggested on pnglist)
(Clarify that frame timings are independent of decoding time)
Line 125: Line 125:


The `delay_num` and `delay_den` parameters together specify a fraction indicating the time to display the current frame, in seconds.  If the denominator is 0, it is to be treated as if it were 100 (that is, `delay_num` then specifies 1/100ths of a second).  If the the value of the numerator is 0 the decoder should render the next frame as quickly as possible, though viewers may impose a reasonable lower bound.
The `delay_num` and `delay_den` parameters together specify a fraction indicating the time to display the current frame, in seconds.  If the denominator is 0, it is to be treated as if it were 100 (that is, `delay_num` then specifies 1/100ths of a second).  If the the value of the numerator is 0 the decoder should render the next frame as quickly as possible, though viewers may impose a reasonable lower bound.
Frame timings should be independent of the time required for decoding and display of each frame, so that animations will run at the same rate regardless of the performance of the decoder implementation. Decoders should skip frames if necessary.


`dispose_op` specifies how the output buffer should be changed at the end of the delay (before rendering the next frame).
`dispose_op` specifies how the output buffer should be changed at the end of the delay (before rendering the next frame).
18

edits

Navigation menu