Releases: pymupdf/PyMuPDF
Releases · pymupdf/PyMuPDF
Recode PDF delete page
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
Merge pull request #305 from JorjMcKie/master upgrade to v1.14.15
Fix bug in Link target point calculation
Merge pull request #282 from JorjMcKie/master upgrade to v1.14.14
Introduce io.BytesIO as an input option
- For binary, memory-based input to most methods, now also
io.BytesIO
objects are accepted. - Fixed a bug not correctly showing inserted images with maintained aspect ratio.
Fixes #269, #270
Merge pull request #271 from JorjMcKie/master upload v1.14.12
Fixes #265
- Page method
showPDFpage()
now supports rotation by arbitrary angles and automatically handles prevention of duplicates (deprecation ofreuse_xref
parameter). - Page method
insertImage()
now supports rotation of inserted image (by multiples of 90 degrees), and maintains the aspect ratio.
Fix #261
Fixes #258, #259
- 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
- JBIG2 decode error impacted
Document.extractImage
andPage.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
- 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