My PNG implementation in haskell for my live blogging