mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Add NIE spec note re degenerate animations
This commit is contained in:
1 parent
f3b9704e4d
commit
ee60af58fb
1 file changed
+9
@@ -239,6 +239,15 @@ This is random access by frame index (the "_i_" in "the _i_'th frame"), not by
|
||||
time, as different frames can have different display durations.
|
||||
|
||||
|
||||
## Degenerate Animations
|
||||
|
||||
A still image is, in some sense, an animated image with a single frame, albeit
|
||||
without an explicit display duration or looping behavior. Some animated image
|
||||
formats also support zero frames, just like the empty string being a valid
|
||||
string. For these degenerate (0 or 1 frame) cases, when converting to NII or
|
||||
NIA, the convention (but not requirement) is a zero CDD and a zero LoopCount.
|
||||
|
||||
|
||||
## Cumulative Display Duration
|
||||
|
||||
Other animation formats, like
|
||||
|
||||
Reference in new issue
Block a user