Need help to turn off a specific layer in a PDF and save the result #3754
Unanswered
amaX9
asked this question in
Looking for help
Replies: 1 comment
-
This post should be dealt with in the Discussions tab ... transferring. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the issue:
I need to open a PDF file (original.pdf), turn off a specific layer by its name, and save the result as updated.pdf. I am having difficulty achieving this with PyMuPDF and would appreciate any guidance or examples on how to perform this task.
Steps to achieve the task:
original.pdf
, which contains multiple layers.updated.pdf
.Desired functionality:
Layer_name_01
.Current code:
Environment:
Python version: 3.6.8
PyMuPDF version: 1.19.6
Any guidance or examples on how to achieve this would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions