GdkPixbuf
An object holding information about images in memory.
Object Hierarchy
Description
A GdkPixbuf is an object that holds information about a whole image
(all the color values [red/green/blue/alpha] for every single pixel)
in memory.
Pixbufs can be created by loading an image file via
GdkPixbuf::new_from_file,
by using a given GD image object as source
(GdkPixbuf::new_from_gd)
or just using the normal constructor, creating an empty image.
A GdkPixbuf itself just contains the information, it does
not display it in any way. To display an image in your application,
you most likely want to use a GtkImage which uses a
GdkPixbuf as source.
Constructors
--
Creates an empty image with the desired size.
--
Creates a pixbuf based on an image file.
--
Load an image file and scales it to the given size.
--
--
Create a pixbuf based on a GD image object
Fields
pixel_array: