Save a layer as a separate image #2805
Unanswered
wwangxinhao
asked this question in
Q&A
Replies: 1 comment
-
|
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.
-
def print_xobjects_info(pdf_path):
doc = fitz.open(pdf_path)
Example usage
pdf_path = 'test/test.pdf'
print_xobjects_info(pdf_path)
this is mycode, doc.set_layer is work ,but i dont know how to save a separate image, for example layer 21
Beta Was this translation helpful? Give feedback.
All reactions