Pixbuf.getHasAlpha

bool getHasAlpha()

Queries whether a pixbuf has an alpha channel (opacity information).

Returns

TRUE if it has an alpha channel, FALSE otherwise.