-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixmap resizing needs positional arg "clip" - even if None #3139
Comments
Your bug report does not refer to the stated PyMuPDF version 1.23.21: the line number 9471 in Otherwise, we have a documentation imprecision: |
Given this, I will change the function to make the last parameter |
Thx for the prompt answer
… El 7 feb 2024, a las 15:26, Jorj X. McKie ***@***.***> escribió:
Given this, I will change the function to make the last parameter None/clip optional.
For now, your code should work, if you add None as the last parameter.
—
Reply to this email directly, view it on GitHub <#3139 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZKU4FUR7NMIN3KQWTEBC3YSOFJXAVCNFSM6AAAAABC527DVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSGE3DCMBUG4>.
You are receiving this because you authored the thread.
|
Fixed in 1.23.22. |
Description of the bug
I'm trying to resize a pixmap with
And that throws the following exception
How to reproduce the bug
This is the MWE to reproduce the Exception:
The intent is that npixmap can be included in a 50 dpi A4 pdf
PyMuPDF version
1.23.21
Operating system
Linux
Python version
3.10
The text was updated successfully, but these errors were encountered: