packages feed

brillo-export-0.2.0.0: src/Brillo/Export.hs

{-| Main module for exporting Brillo pictures to image files, gif animations, SVG and juicy-pixels image datatypes.
  While no screen is displayed during the export process (except for SVG which is purely computed),
  the canvas is still limited to the screen's resolution for raster formats.
-}
module Brillo.Export (
  -- * For tinkering yourself
  withBrilloState,
  withImage,
  withImages,
  exportPictureToFormat,
  exportPicturesToFormat,

  -- * Writing to PNG
  exportPictureToPNG,
  exportPicturesToPNG,

  -- * Writing to Bitmap
  exportPictureToBitmap,
  exportPicturesToBitmap,

  -- * Writing to Tga
  exportPictureToTga,
  exportPicturesToTga,

  -- * Writing to Tiff
  exportPictureToTiff,
  exportPicturesToTiff,

  -- * Writing to Gif
  exportPicturesToGif,
  GifDelay,
  GifLooping (..),

  -- * Writing to SVG
  exportPictureToSVG,
  exportPicturesToSVG,
  renderPictureToSVG,
  pictureToSVGDoc,

  -- * Writing to WebP
  exportPictureToWebP,
  exportPicturesToWebP,
  exportPictureToWebPLossy,
  exportPicturesToWebPLossy,
) where

import Brillo.Export.Bitmap
import Brillo.Export.Gif
import Brillo.Export.Image
import Brillo.Export.PNG
import Brillo.Export.SVG
import Brillo.Export.Tga
import Brillo.Export.Tiff
import Brillo.Export.WebP