pixbufFromFileAtMaxSize

Loads a new gdkpixbuf.pixbuf.Pixbuf from filename and returns it. This pixbuf is uniformly scaled so that the it fits into a rectangle of size max_width * max_height. The caller must assume the reference to the returned pixbuf. If an error occurred, error is set and NULL is returned.

More...
pixbufFromFileAtMaxSize
(
string filename
,,)

Parameters

filename string

A file name

maxWidth int

The requested max width

maxHeight int

The requested max height

Return Value

Type: gdkpixbuf.pixbuf.Pixbuf

A pixbuf, or null on error.

Detailed Description