get_pixels_with_length
Description:
[ CCode ( array_length_pos = 0.1 , array_length_type = "guint" ) ]
[ Version ( since = "2.26" ) ]
public unowned uint8[] get_pixels_with_length ()
[ Version ( since = "2.26" ) ]
public unowned uint8[] get_pixels_with_length ()
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. |
length |
The length of the binary data. |
Returns:
A pointer to the pixbuf's pixel data. |