Last post Nov 09, 2016 01:11 PM by pablomur
Nov 09, 2016 01:11 PM|pablomur|LINK
Hello people! I need to get the number of layers on a tiff file.
The files are created with Photoshop, and I have to get the number of layers on the file. Do you know some way to get it.
I've tried this:
int numb = image.GetFrameCount(FrameDimension.Page);
But shows me 1 when the file has 3 layers....
I also know that a file has an alpha channel is image.GetPropertyItem(277).Value > 4 - So may be some other property item give me that, but I don't know which code or which method get this value. Thanks in advance.