Learn R Programming

RGtk2 (version 2.8.7)

gdkPixbufGetFromImage: gdkPixbufGetFromImage

Description

Same as gdkPixbufGetFromDrawable but gets the pixbuf from an image.

Usage

gdkPixbufGetFromImage(src, cmap, src.x, src.y, dest.x, dest.y, width, height)

Arguments

Value

A list containing the following elements:retval[GdkPixbuf] dest, newly-created pixbuf if dest was NULL, NULL on errordest[GdkPixbuf] Destination pixbuf, or NULL if a new pixbuf should be created.