-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Display images in Gloss using libdevil for decoding -- -- Display images in Gloss using libdevil for decoding @package gloss-devil @version 0.1 module Graphics.Gloss.DevIL -- | Load picture using 'Codec-Image-DevIL' and convert it a bitmap for -- display by Gloss loadDevILPicture :: FilePath -> IO (Int, Int, Picture) -- | repaToPicture cacheMeFlag array will convert a Repa -- RGBA array to a tuple of the number of columns, rows and a bitmap for -- use with Gloss. repaToPicture :: Bool -> Array DIM3 Word8 -> (Int, Int, Picture) -- | Read in a file into a repa array (using the 'repa-devil' package) readRepaImage :: FilePath -> IO (Array DIM3 Word8)