rusty_pdf

Crates.iorusty_pdf
lib.rsrusty_pdf
version0.21.0
sourcesrc
created_at2022-07-10 07:46:11.418421
updated_at2022-07-12 09:17:35.148899
descriptionCrate adding text and images to existing pdf files
homepage
repositoryhttps://github.com/joshpauline/rusty_pdf
max_upload_size
id623003
size458,312
JP (0xfourzerofour)

documentation

README

Rusty PDF

Crates.io API Docs

This crate is a specialized crate that uses 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 to an easy to use library for simple pdf manipulation tasks.

This library was heavily inspired from the following project

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

License

The 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.

Commit count: 18

cargo fmt