Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gdkPixbufLoaderWrite

gdkPixbufLoaderWrite


Description

This will cause a pixbuf loader to parse the next count bytes of 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. If FALSE is returned, error will be set to an error from the GDK_PIXBUF_ERROR or G_FILE_ERROR domains.

Usage

gdkPixbufLoaderWrite(object, buf, .errwarn = TRUE)

Arguments

object

A pixbuf loader.

buf

Pointer to image data.

.errwarn

Whether to issue a warning on error or fail silently

Value

A list containing the following elements:

retval

[logical] TRUE if the write was successful, or FALSE if the loader cannot parse the buffer.

error

return location for errors

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.