repa-io-3.4.1.1: Read and write Repa arrays in various formats.

Safe HaskellNone
LanguageHaskell98

Data.Array.Repa.IO.BMP

Description

Reading and writing arrays as uncompressed 24 or 32 bit Windows BMP files.

Synopsis

Documentation

readImageFromBMP :: FilePath -> IO (Either Error (Array U DIM2 (Word8, Word8, Word8))) #

Read RGB components from a BMP file.

writeImageToBMP :: FilePath -> Array U DIM2 (Word8, Word8, Word8) -> IO () #

Write RGB components to a BMP file.