Page MenuHomeSolus

Update python-pikepdf to 1.19.3
ClosedPublic

Authored by algent on Thu, Oct 8, 7:05 PM.

Details

Summary

Changelog:

  • Fixed an exception that occurred when building the documentation, introduced in the previous release.
  • Fixed an exception with setting metadata objects to unsupported RDF types. Instead we make a best effort to convert to an appropriate type.
  • Prevent creating certain illegal dictionary key names.
  • Document procedure to remove an image.
  • Fixed an issue with unparse_content_stream: we now assume the second item of each step in the content stream is an Operator.
  • Fixed an issue with unparsing inline images.
  • Learned how to export CCITT images from PDFs that have ICC profiles attached.
  • Cherry-picked a workaround to a possible use-after-free caused by pybind11.
  • Improved test coverage of code that handles inline images.
  • Use pikepdf.open(...allow_overwriting_input=True) to allow overwriting the input file. This is accomplished safely by loading the entire PDF into memory at the time it is opened rather than loading content as needed. The option is disabled by default, to avoid a performance hit.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Cut, copy, delete and dublicate.
  • Rotate Left and Right
  • Split and merge.
  • Crop Left, Right, Top and Bottom.
  • Export selected pages.
  • Add some images and save as PDF.

Diff Detail

Repository
R4998 python-pikepdf
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Thu, Oct 8, 7:05 PM
algent requested review of this revision.Thu, Oct 8, 7:05 PM
JoshStrobl accepted this revision.Fri, Oct 9, 7:32 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Fri, Oct 9, 7:32 AM
This revision was automatically updated to reflect the committed changes.