Next: , Previous: GnomePassword, Up: Top

7 gnome-vfs-util

7.1 Overview

7.2 Usage

— Function: gnome-gdk-pixbuf-new-from-uri (uri mchars) ⇒  (ret <gdk-pixbuf>)

Loads a GdkPixbuf from the image file uri points to, scaling it to the desired size. If you pass -1 for width or height then the value specified in the file will be used.

When preserving aspect ratio, if both height and width are set the size is picked such that the scaled image fits in a width * height rectangle.

the uri of an image
The loaded pixbuf, or NULL on error

Since 2.14