Package: gdk

Function gdk:pixbuf-loader-write-bytes

Lambda List

gdk:pixbuf-loader-write-bytes (loader bytes)

Arguments

loader -- a gdk-pixbuf:pixbuf-loader object
bytes -- a g:bytes instance for the image data

Return Value

True if the write was successful, or false if the loader cannot parse the buffer.

Details

This will cause a pixbuf loader to parse a buffer inside a g:ytes instance for an image. It will return true if the data was loaded successfully, and false if an error occurred. In the latter case, the loader will be closed, and will not accept further writes.
 

See also

#2026-09-21