| What it is | A set of Rust crates for parsing, interpreting and rendering PDF files. | A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project. | The ultimate library for managing PDF documents | Rust library to read, manipulate and write PDF files. |
| Features | - read-only PDF parsing (hayro-syntax)
- content stream interpreter with an abstract device (hayro-interpret)
- CPU rasterization to bitmaps (hayro)
- PDF to SVG (hayro-svg)
- standalone JPEG 2000, JBIG2 and CCITT decoders
- font and CMap parsers
- embedded standard fonts and CMaps (default features)
- 1,600+ PDF visual regression suite
- All 10 features
| - render pages, or portions of pages, to bitmaps and image crate images
- text and image extraction
- form field introspection and filling
- signature, attachment, annotation and link introspection
- document concatenation and watermarking
- create documents, pages, and text, path and bitmap page objects
- custom fonts and custom text shaping inside a text object
- binds to Pdfium at runtime (dynamic) or links it statically
- All 11 features
| - renders PDF, XPS, OpenXPS, EPUB, MOBI, FB2, CBZ/CBT, SVG (subset), Markdown and images
- output to PDF, text, HTML, PostScript, PCL, PWG, PNG, SVG and PNM/PAM
- mutool draw and convert: render and convert documents
- mutool show, extract, clean, create, merge, poster, pages, info, grep, trim, recolor, bake, audit, barcode
- mutool sign: digital signatures
- mutool run: JavaScript programs with access to the MuPDF library
- mupdf-gl viewer with table of contents, unicode search, annotation editing and redaction
- Android viewers
- All 11 features
| - typed views of PDF objects: catalog, pages, fonts, XObjects, colour spaces, annotations, forms, structure tree
- content streams decoded into an Op enum
- lazy object resolution and stream decoding, with optional caching and memory mapping
- stream filters and predictors
- RC4 and AES decryption with the standard security handler
- strict and tolerant parsing modes, with an object size limit against decompression bombs
- cross-reference tables and streams, object streams and incremental updates
- building a document from scratch and importing objects into it
- All 9 features
|