Hi Team,
Good day!
As per the solution provided for this Not able to redact the StampAnnotation image I have flatten the annotation.
We are providing an option to redact the page content in our application. If they are trying to redact any particular word on the pdf page, they will find the word and apply redact for that text.
We are facing an issue when we have the stamp type annotation on the pdf page, if there are some texts under the stamp type image, texts got hidden and user was not able to know what text under the image and they were not able redact it.
After flatten the annotation also, we can copy the text under image.
They are considering it as security risk as they are trying to hide a confidential item.
So, we have planned to reduce the opacity of stamp type annotation so that it will show both text and image. But, the opacity is not working after saving the PDF. After saving if we check for the opacity in the properties it is showing the reduced value, But UI color is not changed.
I have checked for other annotation type like Highlight. It is working fine.
Please help us to reduce the opacity.
Please find the sample input, output and code snippet.
Input_file.pdf (170.2 KB)
output_file.pdf (202.5 KB)
Code Snippet.zip (507 Bytes)