Skip to content

Releases: pymupdf/PyMuPDF

Fixes #265

18 Mar 16:48
5cae163
Compare
Choose a tag to compare
  • Page method showPDFpage() now supports rotation by arbitrary angles and automatically handles prevention of duplicates (deprecation of reuse_xref parameter).
  • Page method insertImage() now supports rotation of inserted image (by multiples of 90 degrees), and maintains the aspect ratio.

Fix #261

10 Mar 17:07
52a2d34
Compare
Choose a tag to compare
  • Support rotation of rectangles displayed via Page.showPDFpage
  • Fix a bug which occurred when multiple images were inserted as streams via Page.insertImage.

Fixes #258, #259

06 Mar 23:42
Compare
Choose a tag to compare
  • Added support for PDF text rendering mode (the Tr operator). This makes it possible to insert invisible text or glyphs with bordered and filled lines.
  • Optimize support for JPX image extraction from PDFs. For these images, we now directly read the binary data.

Fixes JBIG2 decode error

31 Jan 02:45
b5c8e04
Compare
Choose a tag to compare
  • JBIG2 decode error impacted Document.extractImage and Page.getText method in rare scenarios
  • new Pixmap.setRect method
  • extend several Pixmap methods to also support non-alpha images

Minor feature improvements and bug fixes

17 Jan 22:11
70691fc
Compare
Choose a tag to compare
  • new Pixmap.setPixel() method
  • documentation: new How-To on image conversion
  • new text length calculation for Base-14 fonts
  • new Postscript output for pixmaps
  • Pixmap.writeImage() by default determines image type from filename extension

Extending Draw Methods and Pixmap Output Options

05 Jan 10:00
ffbbdfb
Compare
Choose a tag to compare
Merge pull request #245 from JorjMcKie/master

Upgrade to v1.14.5

Fix #239

18 Dec 14:45
546d88d
Compare
Choose a tag to compare
Merge pull request #240 from JorjMcKie/master

merge v1.14.4

Supporting CJK Font Text Insertion

02 Dec 19:33
efe7a8c
Compare
Choose a tag to compare
Merge pull request #233 from JorjMcKie/master

merge v1.14.3

Fixes #223 - Pathlib Support for Document class

19 Nov 17:55
3bc5632
Compare
Choose a tag to compare

Fixes #227
Also implemented several small performance improvements.

Supporting MuPDF v1.14.0

16 Nov 20:03
c9f21c0
Compare
Choose a tag to compare

This version comes with major changes on the technical level and hardly visible to the user. Among those low-level changes are internal handling of geometry object (rectangle, points and friends) and name changes to standard PDF objects, like PDF_NAME_Rect has been renamed to PDF_NAME(Rect).

But there are notable functionality enhancements as well:

  • updating an encrypted PDF lets you optionally keep encryption
  • MuPDF messages going to STDOUT and STDERR are now intercepted and will no longer appear
  • several new annotation types are officially supported by MuPDF
  • a new geometry object Quad supports rectangles that are no longer axis-aligned. This allows addressing location of "tilted" text (i.e. which is neither horizontal nor vertical)

As always, a number of issues has been fixed as well.