Drawable.getDepth

Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. Examples are 8 bits per pixel, 24 bits per pixel, etc.

class Drawable
int
getDepth
()

Return Value

Type: int

number of bits per pixel

Meta