ImageDepth()

Syntax

Result = ImageDepth()
Description
Returns the depth of the current image. Depth is the number of bitplane than the image got. In other terms, it represents the number of colors of the image. Example: A 24 bit picture (16 Millions colors) with returns '24'. A 256 colored image will returns '8' (8 bits). A monochrome picture will returns '1'.

Supported OS

Windows, Linux, MacOS X

<- GrabImage() - Image Index - ImageHeight() ->