$ ghci GHCi, version 7.10.1: http://www.haskell.org/ghc/ :? for help Prelude> import Codec.Picture Prelude Codec.Picture> Right pic <- readImage "smiley.bmp" <interactive>: out of memory (requested 4296015872 bytes)
smiley.bmp is under 300 bytes. Why did I run out of memory?
smiley.bmpfile? Perhaps it claims a huge height and width? - Cirdec