gloss-export-0.1.0.0: Export Gloss pictures to png, bmp, tga, tiff, gif and juicy-pixels-image

Safe HaskellNone
LanguageHaskell2010

Graphics.Gloss.Export.Gif

Synopsis

Documentation

exportPicturesToGif Source #

Arguments

:: 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

type GifDelay = Int #

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