Package: gdk-pixbuf

Function gdk-pixbuf-pixels-with-length

Lambda List

gdk-pixbuf-pixels-with-length (pixbuf length)

Arguments

pixbuf -- a gdk-pixbuf object
length -- an unsigned integer with the length of the binary data

Return Value

A pointer to the pixbuf's pixel data.

Details

Queries a pointer to the pixel data of a pixbuf.

Please see the section on image data in the gdk-pixbuf documentation for information about how the pixel data is stored in memory. This function will cause an implicit copy of the pixbuf data if the pixbuf was created from read-only data.
 

See also

2021-12-12