While that would be helpful it wouldn't immediately solve my problem. If it were changed to return an int of the Count of Channels it would help. At least then I could get the Depth * the ChannelCount to get BPP.
The reason I want BPP is:
I'm just using the bool right now but I put the ColorSpace in to double check. Just trying to find something that would work.
Thanks,
Darren
The reason I want BPP is:
- It's available in most imaging toolkits so it's very commonly used. That's why i was shocked not to be able to find it anywhere.
-
My specific need is to filter out all images below 24bpp from a list.
int colorType = (int)Convert.ChangeType(curImage.ColorType, curImage.ColorType.GetTypeCode()); bool isTrueColor = colorType >= 6 && colorType <= 9; ColorSpace cs = curImage.ColorSpace;
Thanks,
Darren