GdkPixbuf::get_bits_per_sample

int get_bits_per_sample();

Returns the number of bits per color sample (e.g. the red part of a pixel).