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)
Saving Images
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Saving Images
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
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
Who is online
Users browsing this forum: No registered users and 1 guest