PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Nov 09, 2024 1:58 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Aug 09, 2024 5:11 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 10
Hi Team,
First of all thank you for this wonderful library. I am using PDFSharp for watermarking the pdf files. i would like to know if there is any api in PDFSharp to identify that a PDF is already watermarked? Any hint on this would be a great help.

Thanks,
Hyder


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 09, 2024 9:06 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1007
Location: CCAA
hsikkandar wrote:
i would like to know if there is any api in PDFSharp to identify that a PDF is already watermarked?
Watermarks aren't a PDF feature.
A watermark is just something drawn on pages. How should code decide what counts as a watermark?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 10, 2024 6:23 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 10
Thanks Thomas for the quick reply and You're absolutely right, Determining what constitutes a watermark programmatically can be challenging. It may require additional image processing techniques,.

can we use heuristics method like comparing the text & font(water mark can use specific colour than the normal text in pdf, and font would be different and watermark text repeat always).? All these can be assumptions only.

By the way when i download Assemblies(PDFSharp) from NuGet package , the assemblies are not code signed(dont have digital signature), any specific reason or application developer need to sign the assemblies?

Thanks again.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group