ImageDepth()

Syntax

Result = ImageDepth(#Image)
Description
Returns the depth of the #Image. Result contains the number of bitplanes 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() ->