Text and Image, Enable Disable property! #2204
Replies: 4 comments 6 replies
-
What did you do to get this working for images? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the speedy reply, For images, the removal was just the same as the remover.py in your repository. For getting them back, i simply inserted it at the very "xref" from where i removed it. as i told you that i am working on a particular type of document in which xrefs become a very handy feature (being same) |
Beta Was this translation helpful? Give feedback.
-
Ah, I understand: so you did not save the PDF after image removal (or at least not using a garbage collection). Anyway - this is a typical "Discussions" post, not an enhancement request, so let me transfer this to the other tab. |
Beta Was this translation helpful? Give feedback.
-
during the process, i am completely ok if the "elements" are invisible, is there any wrapper function which i can create, which removes the invisible elements or so? or any particular saving technique? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Actually, I am working on a particular PDF in which i have to remove images/text as well as bringing them back when needed.
(Also the PDF template is same, i.e. bbox, image co-ordinates etc.)
i have successfully achieved this for the image,
but for the text, the removal what i did in first place was by "redact_annot", with that i am facing the issue that i can not bring that text back.
So, could you suggest any appropriate way to remove and bring back the text/image if any more efficient approach?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
Are there several options for how your request could be met?
Additional context
Add any other context or screenshots about the feature request here.
Beta Was this translation helpful? Give feedback.
All reactions