https://github.com/0xfourzerofour/rusty_pdf
A pdf library used to modify existing pdf documents
https://github.com/0xfourzerofour/rusty_pdf
lopdf pdf pdf-generation pdf-manipulation rust
Last synced: 15 days ago
JSON representation
A pdf library used to modify existing pdf documents
- Host: GitHub
- URL: https://github.com/0xfourzerofour/rusty_pdf
- Owner: 0xfourzerofour
- License: apache-2.0
- Created: 2022-07-10T07:34:23.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T09:16:14.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T11:35:16.988Z (19 days ago)
- Topics: lopdf, pdf, pdf-generation, pdf-manipulation, rust
- Language: Rust
- Homepage:
- Size: 2.68 MB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Rusty PDF
[](https://crates.io/crates/rusty_pdf/)
[](https://docs.rs/rusty_pdf/latest/)This crate is a specialized crate that uses [`lopdf`][lopdf] to add images and
text to selected pages.This library only supports PNG images however I will be adding JPEG support.
The main aim of this library is to abstract some of the lower level PDF implementations in [`lopdf`][lopdf]
to an easy to use library for simple pdf manipulation tasks.### This library was heavily inspired from the following project
[`pdf_signing`][pdf_signing]
I migrated to this repo as I have different a different end goal for the project, please check out his
project if it is something you are interested in!## Current Features
- Render html to pdf using headless chrome
- Add text to pdf
- Add png file to pdf
- merge pdf files## TODO
- Allow importing of ttf files for font rendering
- Add feature to allow jpeg images
- Create solid documentation
- introduce cbindgen and expose c api for easy integration with other languages
## LicenseThe code in this project is licensed under the MIT or Apache 2.0 license.
All contributions, code and documentation, to this project will be similarly licensed.
[lopdf]: https://github.com/J-F-Liu/lopdf
[pdf_signing]: https://github.com/ralpha/pdf_signing