Gimp.pixbuf_get_format

@accepts(GdkPixbuf.Pixbuf)
@returns(Babl.Object)
def pixbuf_get_format(pixbuf):
    # Python wrapper for gimp_pixbuf_get_format()
  

Returns the Babl format that corresponds to the pixbuf's pixel format.

Since 2.10

pixbuf

a GdkPixbuf.Pixbuf

Returns