public unowned Object? format (string encoding)

Returns the babl object representing the color format given by name such as for example "RGB u8", "CMYK float" or "CIE Lab u16", creates a format using the sRGB space, to also specify the color space and TRCs for a format, see babl_format_with_space.

Namespace: Babl
Package: babl-0.1