Obtains the depth ( bits per pixel ) of the image stored in Rosetta's memory buffer
Usage:
imgDepth (object me)
Parameters:
None
Returns:
(integer) - the depth of the image
Example:
xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )
nD = xtRose.imgDepth( )
Notes:
Internally, Rosetta stores all images in either 1,4,8,24 or 32 bit image. 16 bit depth is not yet supported.