Problems in removing all images in PDF #3231
Answered
by
JorjMcKie
CH-Tam
asked this question in
Looking for help
-
My objective is to remove all images in a PDF, yet doc.save() returns the original file (with size a little bit larger) while doc.save_snapshot() works. Version: 1.23.26
|
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Mar 7, 2024
Replies: 1 comment 1 reply
-
Several comments:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just for everybody's information: This question has been answered in another channel.
It was ultimately determined that using
page.delete_image(xref)
is the most adequate and efficient solution - as opposed to redaction annotations, which require much more involvement to get it right.