daveofgv
Well-known member
I have the below code that gets the image count from a Tiff file.... However, I need it to search a bunch of Tiff's and in subfolders. Does anyone know how to make it where it counts all the Tiff's in a directory instead of just one tiff?
Thanks for your help
VB.NET:
Dim img As Image = Image.FromFile(filename)
Dim numpages As Integer = img.GetFrameCount(Imaging.FrameDimension.Page)
Label1.Text = numpages
img.Dispose()
Thanks for your help