GetPageCount vs TiffGetPageCount

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

GetPageCount vs TiffGetPageCount

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

Hi,

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.

Thanks,
Erik D.

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

Re: GetPageCount vs TiffGetPageCount

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

Hi,

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

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests