1

What's the best way to add watermarks to images in a TPPDF document?

Is this approach (#19) still the best way? If so, would you mind please elaborating on how you'd do this?

I've found if I add watermarks to an image before adding to the document, the image resizing distorts the watermarks.

Thanks for taking a look.

Update
In case anyone else is interested in this enhancement, I created this PR with a possible solution; it adds a closure to PDFImage that takes in the CGImage's context and frame, so you can add your watermark after the image is resized and drawn.

Chris
  • 29
  • 4

0 Answers0