Allow gapless frames

This commit is contained in:
Kovid Goyal
2021-02-01 16:22:36 +05:30
parent 9cf5348c36
commit bb5c5a8e4f
4 changed files with 29 additions and 12 deletions

View File

@@ -551,15 +551,16 @@ Key Value Default Description
``c`` Positive integer ``0`` The 1-based frame number of the frame whose image data serves as the base data
when creating a new frame, by default the base data is black, fully transparent pixels
``r`` Positive integer ``0`` The 1-based frame number of the frame that is being edited. By default, a new frame is created
``z`` 32-bit integer ``0`` The gap (in milliseconds) of this frame from the previous one. Values less than
one are ignored, new frames are given a default gap of ``40ms`` if not specified.
``z`` 32-bit integer ``0`` The gap (in milliseconds) of this frame from the previous one. A value of
zero is ignored. Negative values create a *gapless* frame. If not specified,
frames have a default gap of ``40ms``. The root frame defaults to zero gap.
**Keys for animation control**
-----------------------------------------------------------
``s`` Positive integer ``0`` ``1`` - start animation, ``>1`` - stop animation
``r`` Positive integer ``0`` The 1-based frame number of the frame that is being affected
``z`` 32-bit integer ``0`` The gap (in milliseconds) of this frame from the previous one. Values less than
one are ignored
``z`` 32-bit integer ``0`` The gap (in milliseconds) of this frame from the previous one. A value of
zero is ignored. Negative values create a *gapless* frame.
``c`` Positive integer ``0`` The 1-based frame number of the frame that should be made the current frame