Document.convert_to_pdf() Removes Transparency in PDFs #4101
Unanswered
Danishkhilji
asked this question in
Looking for help
Replies: 2 comments 1 reply
-
Hi @JorjMcKie , Thanks for all your help! If you have a moment, could you take a look at my latest issue regarding transparency in PDFs with convert_to_pdf()? Appreciate it! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry, I swamped with work lately and cannot deal with your issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the Document.convert_to_pdf() method from PyMuPDF (fitz) to manipulate a PDF document that contains both vector graphics and images with transparency. However, when using this method on PDFs containing transparent elements, the transparency is removed, and the result is different from what I expect.
Code Example:
Problem:
Example:
Original PDF (Expected result):
Resulting PDF (Actual result): [Image 2] (transparency removed and also change position)
following error i am getting on terminal
Expected behavior:
here is pdf file:
test-file.pdf
Beta Was this translation helpful? Give feedback.
All reactions