pixbufFromFileAtSize

Loads a new gdkpixbuf.pixbuf.Pixbuf from filename and returns it. This pixbuf is scaled from the size indicated to the new size indicated by width and height. If both of these are -1, then the default size of the image being loaded is used. The caller must assume the reference to the returned pixbuf. If an error occurred, error is set and NULL is returned.

More...
pixbufFromFileAtSize
(
string filename
,
int width
,
int height
)

Parameters

filename string

A file name

width int

The new width, or -1

height int

The new height, or -1

Return Value

Type: gdkpixbuf.pixbuf.Pixbuf

A pixbuf, or null on error.

Detailed Description