Cogl.Bitmap.prototype.get_format

function get_format(): Cogl.PixelFormat {
    // Gjs wrapper for cogl_bitmap_get_format()
}
  

Since 1.10

Returns

the Cogl.PixelFormat that the data for the bitmap is in.