Watermark a PDF document with a PNG Image

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
skar
Posts: 2
Joined: 2016-08-01T02:51:09-07:00
Authentication code: 1151

Watermark a PDF document with a PNG Image

Post by skar » 2016-08-01T02:54:18-07:00

How to watermark a PDF document (all pages) using a PNG image.
The pdf document can have text as well as images.

snibgo
Posts: 12000
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Watermark a PDF document with a PNG Image

Post by snibgo » 2016-08-01T04:00:23-07:00

Doing this with ImageMagick is probably a bad idea.

IM would rasterize (convert to pixels) each page in the PDF, then modify those pixels with the watermark, then create a PDF with those pixels. The resulting PDF will contain no text, just pixels, so won't be searchable etc.
snibgo's IM pages: im.snibgo.com

skar
Posts: 2
Joined: 2016-08-01T02:51:09-07:00
Authentication code: 1151

Re: Watermark a PDF document with a PNG Image

Post by skar » 2016-08-03T02:05:25-07:00

Could you please suggest an alternate to watermark PDF ?

Post Reply