From ee60af58fb3b67a41fc54219fddbedbff3fc092f Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 21 May 2020 21:39:16 +1000 Subject: [PATCH] Add NIE spec note re degenerate animations --- doc/spec/nie-spec.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/spec/nie-spec.md b/doc/spec/nie-spec.md index 959b6be2..be6a6603 100644 --- a/doc/spec/nie-spec.md +++ b/doc/spec/nie-spec.md @@ -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