Watermarking a multi-page TIFF file

Example requests & Code samples for GdPicture Toolkits.
Post Reply
valleysboy
Posts: 6
Joined: Mon Dec 22, 2008 6:03 pm

Watermarking a multi-page TIFF file

Post by valleysboy » Mon Dec 22, 2008 6:23 pm

Hi all

I've had a look at the watermark sample code and it's very effective.
However I'm having some trouble watermarknig a multi-page TIFF file. If I use CreateImageFromFile it loads the TIFF file fine and allows me to watermark it, but only the first page.

Also, when I use the SaveAsTIFF method it only saves the first page (a single-page TIFF file). Though if I save it as a PDF it's fine

so two things...
How do I save it back as a multi-page TIFF?
How do I watermark each individual page?

Thanks
Valleysboy

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Watermarking a multi-page TIFF file

Post by Loïc » Tue Dec 23, 2008 9:42 am

Hi,

See this sample into the reference guide: https://www.gdpicture.com/guides/gdpicture/v5/gdpictur ... mFile.html

Best regards,

Loïc

valleysboy
Posts: 6
Joined: Mon Dec 22, 2008 6:03 pm

Re: Watermarking a multi-page TIFF file

Post by valleysboy » Tue Dec 23, 2008 11:17 am

Many thanks

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest