This example shows how to create an animation

Arguments

; this example shows the easiest way of creating an animated gif by using
; a mask to select frames, and specifying global values

p1_walk*.png              ; add frames for all files matching this mask
create1.gif               ; last filename in the list is the output file
                          ; unless the /O argument is used

/l                        ; loop the animation. As we haven't specified
                          ; the /LC argument, the animation will loop
                          ; infinitely

/fd 100                   ; set the default frame duration to be 100ms
/fdm RestoreBackground    ; set the default disposal method to redraw
                          ; the back ground

/gp                       ; create a global palette and apply it to all
                          ; frames
                          
/ac "Created by Cyotek Gif Animator"
                          ; add a comment to the animation, but not to
                          ; the individual frames
                          
/y                        ; do not prompt overwrite files

Sample Output

Creating frame from image 'p1_walk01.png'
Creating frame from image 'p1_walk02.png'
Creating frame from image 'p1_walk03.png'
Creating frame from image 'p1_walk04.png'
Creating frame from image 'p1_walk05.png'
Creating frame from image 'p1_walk06.png'
Creating frame from image 'p1_walk07.png'
Creating frame from image 'p1_walk08.png'
Creating frame from image 'p1_walk09.png'
Creating frame from image 'p1_walk10.png'
Creating frame from image 'p1_walk11.png'
Creating global color palette
Writing animation create1.gif
© 2013-2017 Cyotek Ltd. All Rights Reserved.
Documentation version 0.0 (buildref #293.-), last modified 2017-05-23. Generated 2023-04-02 08:26 using Cyotek HelpWrite Professional version 6.19.1