Stirling-PDF
Stirling-PDF copied to clipboard
Watermark Can Be Deleted, Add option to convert to image afterwards
The resulting watermark can be deleted in Foxit PDF Editor by selecting and deleting each object. Running the watermarked PDF through the Flatten process did not prevent deletion.
Further to this, it seems to be an issue with most other programs. I have tried other online services as well as Foxit. It seems that flattening does not affect the watermark layer.
@Frooodle Perhaps an option could be added to automatically pass the watermarked PDF through a module that converts the PDF content to image so the resulting PDF cannot be edited.
This option exists for a few other features (image conversion), seems reasonable to add it as a extra checkbox
This option exists for a few other features, seems reasonable to add it as a extra checkbox for image conversion
And yeah flattern is only to remove interactive elements like textboxes
For new devs taking this, you can refer image conversion from https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java#L81
Hi, I'd like to work on this if nobody else has yet
I would like to take on this issue, however am requesting for more delight because it seems am not getting this issue right. @lawfulsoftware are you suggesting that the conversion process should not allow deletion of a watermark automatically so that it requires consent of the user to get it deleted? Thank you.
@Isaac-Whiz @N-Smith-00 A watermark should be permanent. As currently implemented, the watermark can be deleted. To make it permanent, the watermarked PDF could be converted to an image and then back to PDF. Since the conversion to an image would merge the layers, it would be difficult to remove the watermark without resorting to AI or graphic editing software.
Hii @lawfulsoftware, Is the issue resolve, if now i would like to take the issue and solve it.
Still existing
@lawfulsoftware I would like work on the issue i just some vague idea it will be better if you give a brief about it
in watermark feature, add a checkbox to convert the PDFs content into a image so it cant be editted
For new devs taking this, you can refer image conversion from https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java#L81
@lawfulsoftware is there any group where i can join and discuss about the issues i am done with the local setup its working
Discord would be best
Hi, I saw the issue has been assigned to the same person for quite some time and has not been done. I am assuming it is open for contribution. I've created a pull request for this and I am happy to be assigned to this issue.