Gimp.Drawable.get_format

@accepts(Gimp.Drawable)
@returns(Babl.Object)
def get_format(self):
    # Python wrapper for gimp_drawable_get_format()
  

Returns the #Babl format of the drawable.

Since 2.10

self

the ID of the Gimp.Drawable to get the format for.

Returns