lopdf

A Rust library for PDF document manipulation.

MIT License

Downloads
907.8K
Stars
1.6K
Committers
38

Bot releases are hidden (Show)

lopdf - 0.34.0 Latest Release

Published by J-F-Liu about 2 months ago

See CHANGLOG.md for details.
Thanks a lot for new contributers: Heinenen, dkaluza, jrmuizel

lopdf - 0.20.0

Published by J-F-Liu over 5 years ago

  • Replace println with log macros
  • Use Rust 2018
  • Use pom 3.0
lopdf - 0.19.0

Published by J-F-Liu almost 6 years ago

  • Allow xref section has zero entries, fixes #39
  • Dictionary key type changed to Vec<u8>, fixes #42
  • Move image dependency to embed_image feature
lopdf - 0.18.0

Published by J-F-Liu about 6 years ago

  • Insert image on page.
  • Able to read stream when it's length is in object stream.
lopdf - 0.17.0

Published by J-F-Liu about 6 years ago

  • Use time crate directly, chrono is optional.
  • insert_form_object accepts page_id argument.
lopdf - 0.16.0

Published by J-F-Liu about 6 years ago

Add form xobject to page.

lopdf - Bug fixes

Published by J-F-Liu about 6 years ago

lopdf - 0.15.0 Extract plain text

Published by J-F-Liu over 6 years ago

  • Extract text from specified pages.
  • Replace text of specified page.
lopdf - 0.14.1

Published by J-F-Liu almost 7 years ago

  • Derive Clone for Document and Xref
  • Add a dictionary! macro that creates a Dictionary
  • Add an Object::string_literal constructor
  • Add impl From<_> for Object for more types
  • Remove the Seek bound on Document::save_to
lopdf - 0.13.0

Published by J-F-Liu about 7 years ago

  • Ignore invalid objects when reading all object in xref table
  • Store compressed stream objects and normal objects together
  • Minor bug fixes and improvements
lopdf - 0.11.0

Published by J-F-Liu about 7 years ago

Use itoa and dtoa to improve writing performance (by sharazam).

lopdf - 0.10.0

Published by J-F-Liu about 7 years ago

Add stream.with_compression(false) to disable compression, useful in font objects.

lopdf - 0.9.0

Published by J-F-Liu over 7 years ago

  • Add Document::with_version() to create new document.
  • Add Document::load_from() to read from any source impls Read.
  • Add Document::save_to() to write any target impls Write.
  • Fix some bugs.
lopdf - 0.8.0

Published by J-F-Liu over 7 years ago

  • Delete specified objects and pages.
  • Prune unused objects.
  • Renumber objects.
lopdf - 0.7.0

Published by J-F-Liu over 7 years ago

  • Read and write DateTime value.
  • Read xref stream in hybrid-reference file.
  • Add Content::decode() function.
lopdf - 0.6.0

Published by J-F-Liu over 7 years ago

Read previous Xrefs of linearized or incremental updated document.

lopdf - 0.5.0

Published by J-F-Liu over 7 years ago

Read xref stream and object streams.

lopdf - 0.4.0

Published by J-F-Liu over 7 years ago

Decode and encode operations of content streams.

lopdf - 0.3.0

Published by J-F-Liu almost 8 years ago

  • Use pom instead of nom for parsing.
  • Able to parse stream object when its Length is a reference object.
  • Dictionary preserves key insert order.
lopdf - 0.2.0

Published by J-F-Liu almost 8 years ago

Compress/Decompress stream objects.

Package Rankings
Top 3.54% on Crates.io
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Crates.io CI Docs