| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Gloss.Export.Gif
Synopsis
- exportPicturesToGif :: GifDelay -> GifLooping -> Size -> Color -> FilePath -> Animation -> [Float] -> IO ()
- type GifDelay = Int
- data GifLooping
Documentation
Arguments
| :: GifDelay | time between frames in centiseconds |
| -> GifLooping | |
| -> Size | width, height in pixels as in Gloss.Display |
| -> 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.
Constructors
| 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 |