GetPageCount vs TiffGetPageCount

General discussions about GdPicture.NET.
Post Reply
Posts: 8
Joined: Wed Jun 10, 2015 7:34 pm

GetPageCount vs TiffGetPageCount

Post by ErikD » Fri Oct 09, 2015 6:28 pm


Could you explain the difference between GetPageCount and TiffGetPageCount?

Are there any cases where you would use one versus the other?

It seems to me we should always use GetPageCount as TiffGetPageCount could return 0 if the file is a a single page tif.

Also - just my opinion, but I think TiffGetPageCount should return 1 if the file is a single page tif.

Erik D.

User avatar
Site Admin
Posts: 5594
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: GetPageCount vs TiffGetPageCount

Post by Loïc » Sat Oct 10, 2015 10:53 am


TiffGetPageCount() is for multipage tiff image only.
GetPageCount () is for any kind of multipage document.

Kind regards,


Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests