pdfpurr 0.4.0

A comprehensive pure-Rust PDF library for reading, writing, rendering, and validating PDF documents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Content stream processing.
//!
//! PDF content streams contain a sequence of operators and their operands
//! that describe the visual appearance of a page. This module provides
//! tokenization and interpretation of content streams, as well as a builder
//! for generating new content streams programmatically.

pub mod analysis;
pub mod builder;
pub mod operators;
pub mod structure_detection;
pub mod text;

pub use builder::{ContentStreamBuilder, TextItem};
pub use operators::{tokenize_content_stream, ContentToken};
pub use text::extract_text_from_content;