Skip to content

Releases: pymupdf/PyMuPDF

Recode PDF delete page

29 May 07:53
878657b
Compare
Choose a tag to compare

Deleting pages in PDF documents (methods Document.deletePage() and Document.deletePageRange()) is now based on new code: the code of method Document.select() is no longer used for this.

Starting with release, to reduce network traffic we store wheel files exclusively on PyPI.

Fixes several issues: #301, #300, #298

22 May 21:23
73e0c99
Compare
Choose a tag to compare
Merge pull request #305 from JorjMcKie/master

upgrade to v1.14.15

Fix bug in Link target point calculation

09 Apr 22:45
917f2d8
Compare
Choose a tag to compare
Merge pull request #282 from JorjMcKie/master

upgrade to v1.14.14

Introduce io.BytesIO as an input option

07 Apr 11:16
4646630
Compare
Choose a tag to compare
  • For binary, memory-based input to most methods, now alsoio.BytesIO objects are accepted.
  • Fixed a bug not correctly showing inserted images with maintained aspect ratio.

Fixes #269, #270

21 Mar 17:47
672a44c
Compare
Choose a tag to compare
Merge pull request #271 from JorjMcKie/master

upload v1.14.12

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