netpbm

Loading PBM, PGM, PPM image files

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

Version on this page:1.0.2@rev:1
LTS Haskell 22.40:1.0.4
Stackage Nightly 2024-11-07: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.