Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
stwizard
Posted - Mar 19 2015 : 16:05:31 Greetings,
Delphi XE5 ImageEn 5.0.5
I thought from reading the help file that I could use TImageEnIO.ParamsFromFile to fetch the page count in a tiff file without having to open it, but it returns 0. What am I doing wrong?
var ImageInfo: TImageEnIO; iPageCnt: SmallInt; begin TRY //* Fetch the page count for this tiff without actually loading the file ImageInfo := TImageEnIO.Create(Self); ImageInfo.ParamsFromFile(FileName); iPageCnt := ImageInfo.Params.TIFF_PageCount;
FINALLY END end
2 L A T E S T R E P L I E S (Newest First)
stwizard
Posted - Mar 20 2015 : 06:15:52 Thanks Bill,
When attempting to try your suggestion I found that it was a function in imageenio not io.