cancel
Showing results for 
Search instead for 
Did you mean: 

Files.tif

JOSE_ROGELIOALV
Level 2

Hello, sorry for the inconvenience, by chance has someone handled .tif files or generated an object for this?  since i need to open tif files and identify how many images it contains i would really appreciate the help



------------------------------
JOSE ROGELIO ALVAREZ RAMIREZ
------------------------------
1 REPLY 1

Hi,

You can use a code stage to count the number of pages in the tif file.

29792.png

29793.png

29794.png

Image Tiff = Image.FromFile(filePath);
pageCount = Tiff.GetFrameCount(System.Drawing.Imaging.FrameDimension.Page);
Tiff.Dispose(); 



------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------