Saving Images

Discussions about image processing and document imaging.
Post Reply
ahmad1987
Posts: 11
Joined: Sat Jun 02, 2012 10:41 pm

Saving Images

Post by ahmad1987 » Wed Jun 06, 2012 10:22 am

Hi,

How can i do the following with gdPicture API
1- Save from a certain page from a tiff file or saving from a page range (from - to)

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Saving Images

Post by SamiKharma » Wed Jun 06, 2012 11:02 am

Hi Ahmad,

For saving a single page you need to do the following:
1. Open the multipage tiff image from file using:
https://www.gdpicture.com/guides/gdpicture/v8/html/con ... tring.html
2. Select Page using:
https://www.gdpicture.com/guides/gdpicture/v8/html/con ... teger.html
3. Get the Page using:
https://www.gdpicture.com/guides/gdpicture/v8/html/con ... teger.html
4. Save it using:
https://www.gdpicture.com/guides/gdpicture/v8/html/con ... aging.html

As for saving a certain amount of pages from one multipage tiff to another, I highly suggest you check the Tiff_Splitter demo in the demos folder in your gdpicture directory, which basically does something very similar by splitting one tiff into two and then saving them.

Best Regards,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest