ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 pagecount tiff

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
geert Posted - Dec 12 2012 : 01:57:31
Is there a way to get the exact amount of pages in a tiff file ????

How ? :-)

I don't get it , params.tiff_pagecount results in 0 allways

params.tiff_imagecount results in number bigger than number of pages.

2   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Dec 12 2012 : 08:12:30
You can also use imageenio.IEGetFileFramesCount
function IEGetFileFramesCount(const FileName:WideString):integer;


Description

This is a generic way to get number of frames in a multipage file (GIF, TIFF, AVI, MPEG...) or a single page (JPEG...).

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
xequte Posted - Dec 12 2012 : 02:59:49
Hi

It should not return 0 if you have loaded the images or used ParamsFromFile:

http://www.imageen.com/help/TImageEnIO.ParamsFromFile.html

Or you can just use EnumTIFFIm:

http://www.imageen.com/help/EnumTIFFIm.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com