netpbm

Loading PBM, PGM, PPM image files https://github.com/nh2/haskell-netpbm

Latest on Hackage:1.0.3

See all snapshots netpbm appears in

MIT licensed and maintained by Niklas Hamb├╝chen

Module documentation for 1.0.2

This version can be pinned in stack with:netpbm-1.0.2@sha256:a0d0ed6bfda0c77c9842b627403392757df62d29aa0994124db6bfc2ca961cee,5448

This package contains pure Haskell parsers for the netpbm image formats: PBM, PGM and PPM, for both ASCII and binary encodings.

All netpbm image formats are implemented (P1 - P6).

The current implementation parses PPM images at around 10 MB/s on a Core i5-2520M.

CHANGELOG

Version 1.0.1

  • Added required Vector imports necessary for deriving Unbox instances.

Version 1.0.0

  • Use storable instead of unboxed vectors to allow easier integration with Ptr based APIs.