Reading all images of Multi Page TIF

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

ahurley
Posts: 3
Joined: Wed Dec 08, 2004 10:26 am

Reading all images of Multi Page TIF

Post by ahurley »

I'm using GFlax (love it!) and I have a multi page tif that shows up with the proper data in NumberOfImages, etc. However, I can't figure out how to load any page other than the first so that I can display it.

Is it possible to load any page other than the first in a multi page TIF?
User avatar
xnview
Author of XnView
Posts: 37964
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Reading all images of Multi Page TIF

Post by xnview »

ahurley wrote:I'm using GFlax (love it!) and I have a multi page tif that shows up with the proper data in NumberOfImages, etc. However, I can't figure out how to load any page other than the first so that I can display it.

Is it possible to load any page other than the first in a multi page TIF?
You can use the property Page = ??
Pierre.
ahurley
Posts: 3
Joined: Wed Dec 08, 2004 10:26 am

Post by ahurley »

According to the help file, Page is a read only parameter. In ASP I try to use the following

gFlaxObj.Page = 1

and I get a broken link. Remove that line, and it works fine but I only see the first image in the TIF.

I've also tried .NextPage with no luck as well as it also make a broken image.

Thoughts or suggestions?
ahurley
Posts: 3
Joined: Wed Dec 08, 2004 10:26 am

Post by ahurley »

I finally solved it.

I was putting NextPage and the like AFTER the .SaveFormat command (modified image.asp) and that wasn't working. Thanks for the help and the great product.