Prototype
IntBits:=ImgGetBitsPixel(intImageHandle)
Description
It gets the bits pixel number of the image
Parameters
intImageHandle: integer value corresponding to the image handle.
Returned value
IntBits: integer value showing the bits number composing the pixel.
Notes
None.
Example
//It retrieve bits per pixel
BPP:=ImgGetBitsPixel(_CurrentImage);
//If the image is 1 bit per pixel, convert it in 8 bits per pixel
If BPP = 1 then ImgSetBitsPixel(_CurrentImage, 8);