format_with_space


Description:


public unowned Object? format_with_space (string encoding, Object space)

Returns the babl object representing the color format given by name such as for example "RGB u8", "R'G'B'A float", "Y float" with a specific RGB working space used as the space, the resulting format has -space suffixed to it, unless the space requested is sRGB then the unsuffixed version is used.

If a format is passed in as space the space of the format is used.


Namespace: Babl
Package: babl-0.1