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.PNG

Synopsis

Documentation

exportPictureToPNG Source #

Arguments

:: Size

width, height in pixels

-> Color

background color

-> FilePath 
-> Picture 
-> IO () 

Save a gloss Picture as PNG

exportPicturesToPNG Source #

Arguments

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