You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PyMuPDF version 1.23.9 and newer, an IRect is no longer taken into account when provided as the clip parameter for the Page.get_pixmap method. Providing a Rect still works.
Description of the bug
In PyMuPDF version 1.23.9 and newer, an
IRect
is no longer taken into account when provided as theclip
parameter for thePage.get_pixmap
method. Providing aRect
still works.How to reproduce the bug
Expected behavior / behavior with PyMuPDF 1.23.8
Two JPG images of size 100x100 are created.
Behavior with PyMuPDF 1.23.9 and 1.23.21
The image test_rect.jpg has size 100x100 but the image test_irect.jpg has size 595x842 (full page).
PyMuPDF version
1.23.21
Operating system
Linux
Python version
3.11
The text was updated successfully, but these errors were encountered: