Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- exportPicturesToGif :: GifDelay -> GifLooping -> Size -> Color -> FilePath -> Animation -> [Float] -> IO ()
- type GifDelay = Int
- data GifLooping
Documentation
:: GifDelay | time in centiseconds between frames (Int) |
-> GifLooping | |
-> Size | width, height in pixels |
-> Color | background color |
-> FilePath | |
-> Animation | function that maps from point in time to Picture. analog to Gloss.Animation |
-> [Float] | list of points in time at which to evaluate the animation |
-> IO () |
Save a gloss animation as PNG
Delay to wait before showing the next Gif image. The delay is expressed in 100th of seconds.
data GifLooping #
Help to control the behaviour of GIF animation looping.
LoopingNever | The animation will stop once the end is reached |
LoopingForever | The animation will restart once the end is reached |
LoopingRepeat Word16 | The animation will repeat n times before stoping |