[Haskell] Image manipulation