/phll

haskell png encoder

Primary LanguageHaskell

phll

compressed but unfiltered RGBA PNGs in Haskell

usage

Phll.png_rgba :: [[(Word8, Word8, Word8, Word8)]] -> [Word8]

example: ./example.hs

background/notes

  • I basically copied the Haskell wiki in a learning experience but not exactly
  • used more [Word8]s than ByteStrings not sure if this is super inefficient or something