netpbm

Loading PBM, PGM, PPM image files

https://github.com/nh2/haskell-netpbm

Version on this page:1.0.2@rev:1
LTS Haskell 17.10:1.0.4
Stackage Nightly 2021-05-06:1.0.4
Latest on Hackage:1.0.4

See all snapshots netpbm appears in

MIT licensed and maintained by Niklas Hamb├╝chen
This version can be pinned in stack with:netpbm-1.0.2@sha256:a0d0ed6bfda0c77c9842b627403392757df62d29aa0994124db6bfc2ca961cee,5448

Module documentation for 1.0.2

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.