module Graphics.Gloss.Export.Bitmap
( exportPictureToBitmap
, exportPicturesToBitmap
) where
import Codec.Picture.Bitmap (writeBitmap)
import qualified Graphics.Gloss.Rendering as Gloss
import Graphics.Gloss.Export.Image
exportPictureToBitmap :: Size
-> Gloss.Color
-> FilePath -> Gloss.Picture -> IO ()
exportPictureToBitmap = exportPictureToFormat writeBitmap
exportPicturesToBitmap :: Size
-> Gloss.Color
-> FilePath
-> Animation
-> [Float]
-> IO ()
exportPicturesToBitmap = exportPicturesToFormat writeBitmap