BSD-3-Clause licensed by Yuras Shumovich
Maintained by Yuras Shumovich
This version can be pinned in stack with:pdf-toolbox-core-0.1.3@sha256:c75e5c95b043521bac74d77b2b606bc53006a96848290609858d684cc9470cae,3826

Low level tools for processing PDF files.

Level of abstraction: cross reference, trailer, indirect object, object

The API is based on random access input streams, and is designed to be memory efficient. We don't need to parse the entire PDF file and store it in memory when you need just one page or two. Usually it is also leads to time efficiency, but we don't try optimize performance by e.g. maintaining xref or object cache. Higher level layers should take care of it.

The library is low level. It may mean that you need to be familiar with PDF file internals to actually use it.

Changes

0.1.3

  • support ghc-9.10

0.1.2

  • support ghc from 8.6 to 9.6 and drop older versions
  • handle comments inside objects

0.1.1

  • rework API
  • support ghc from 8.0 to 8.10 and drop older versions
  • interpret unknown xref stream entry type as reference to null object
  • support 1- and 2-digit escapes sequence in literal string

0.0.3.0

  • add Functor and Applicative instances to fix AMP warnings
  • fix attoparsec module deprication warnings
  • add scientific dependency latest attoparsec uses it for numbers