Data.Array.Repa.IO.BMP
Description
Reading and writing arrays as uncompressed 24 or 32 bit Windows BMP files.
readImageFromBMP :: FilePath -> IO (Either Error (Array U DIM2 (Word8, Word8, Word8))) Source #
Read RGB components from a BMP file.
writeImageToBMP :: FilePath -> Array U DIM2 (Word8, Word8, Word8) -> IO () Source #
Write RGB components to a BMP file.