Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Watermark Can Be Deleted, Add option to convert to image afterwards

Open lawfulsoftware opened this issue 1 year ago • 14 comments

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.

lawfulsoftware avatar Sep 27 '23 14:09 lawfulsoftware

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.

lawfulsoftware avatar Sep 28 '23 19:09 lawfulsoftware

This option exists for a few other features (image conversion), seems reasonable to add it as a extra checkbox

Frooodle avatar Sep 28 '23 19:09 Frooodle

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

Frooodle avatar Sep 28 '23 19:09 Frooodle

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

Frooodle avatar Jan 05 '24 19:01 Frooodle

Hi, I'd like to work on this if nobody else has yet

N-Smith-00 avatar Mar 02 '24 07:03 N-Smith-00

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 avatar Mar 26 '24 15:03 Isaac-Whiz

@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.

lawfulsoftware avatar Mar 28 '24 06:03 lawfulsoftware

Hii @lawfulsoftware, Is the issue resolve, if now i would like to take the issue and solve it.

shivamsince0502 avatar May 12 '24 11:05 shivamsince0502

Still existing

Frooodle avatar May 12 '24 11:05 Frooodle

@lawfulsoftware I would like work on the issue i just some vague idea it will be better if you give a brief about it

shivamsince0502 avatar May 17 '24 17:05 shivamsince0502

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

Frooodle avatar May 17 '24 20:05 Frooodle

@lawfulsoftware is there any group where i can join and discuss about the issues i am done with the local setup its working

shivamsince0502 avatar May 19 '24 07:05 shivamsince0502

Discord would be best

Frooodle avatar May 19 '24 07:05 Frooodle

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.

mylk13 avatar Aug 05 '24 14:08 mylk13