pypi PyMuPDF 1.18.7
Interesting new features and several fixes

latest releases: 1.24.4, 1.24.3, 1.24.2...
3 years ago

Fixes:

Implemented enhancement requests:

  • #855, which allows font subsetting using package fontTools

  • #870, which allows convert_to_pdf method also for PDF documents.

  • #843, Document.tobytes() (formerly Document.write()) now also support linearized output. Plus several extensions / improvements around supporting Python fileobjects.

  • Added new methods to quickly determine whether a PDF has annotations or links.

  • Extended the Document.scrub() method with a new parameter, which allows to also remove page thumbnails.

  • Added methods to directly inquire and set values in PDF objects - without the need to manipulating PDF object sources in an unwieldy way - see methods Document.xref_set_key() / Document.xref_get_key().

Continued the process of changing the naming convention for class methods and attributes to "snake_case". As announced before, this is a tedious, error-prone process, and requires special care to maintain a high backlevel support for existing scripts.
In future versions - probably synchronously to MuPDF v1.19.0 - we will remove definitions of old names, but a method for re-activating old aliases will remain available.

Don't miss a new PyMuPDF release

NewReleases is sending notifications on new releases.