get_pixels


Description:

[ CCode ( array_length = false ) ]
public unowned uint8[] get_pixels ()

Queries a pointer to the pixel data of a pixbuf.

This function will cause an implicit copy of the pixbuf data if the pixbuf was created from read-only data.

Please see the section on [image data](class.Pixbuf.html#image-data) for information about how the pixel data is stored in memory.

Parameters:

this

A pixbuf.

Returns:

A pointer to the pixbuf's pixel data.




2022 vala-language.org