/rspdf

PDF library in Rust

Primary LanguageRustApache License 2.0Apache-2.0

rspdf

A PDF library written in Rust work in progress. Focus on extract content and render at now.

Motivation

Write a PDF processiong library in pure Rust.

Tool Usage

extract text as xml

extract plain text

cargo run -- --filename <File> pdftotext

render text

Can just render text on image now

cargo run -- --filename <File> pdftopng 

extract fonts

extract font info

cargo run -- --filename <File> pdffonts

trace

trace pdf object render info, char position , path , image

cargo run -- --filename <File> pdftrace