palette_set_palette


Description:


public void palette_set_palette (Object babl, Object format, uint8[] data, int count)

Assign a palette to a palette format, the data is a single span of pixels representing the colors of the palette.

Parameters:

babl

a Object

format

The pixel format

data

The pixel data

count

The number of pixels in data


Namespace: Babl
Package: babl-0.1



2022 vala-language.org