rockyzhengwu / rspdf

PDF library in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

PDF library in Rust

License:Apache License 2.0


Languages

Language:Rust 100.0%