Federico Mena Quintero


Version 2.6.2

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy of the GNU Free Documentation License from the Free Software Foundation by visiting their Web site or by writing to:

  The Free Software Foundation, Inc.,
  59 Temple Place - Suite 330,
  BostonMA 02111-1307,

Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and those trademarks are made aware to the members of the GNOME Documentation Project, the names have been printed in caps or initial caps.

Table of Contents

I. API Reference
Initialization and Versions - Library version numbers.
The GdkPixbuf Structure - Information that describes an image.
Reference Counting and Memory Mangement - Functions for reference counting and memory management on pixbufs.
File Loading - Loading a pixbuf from a file.
File saving - Saving a pixbuf to a file.
Image Data in Memory - Creating a pixbuf from image data that is already in memory.
Inline data - Functions for inlined pixbuf handling.
Scaling - Scaling pixbufs and scaling and compositing pixbufs
Rendering - Rendering a pixbuf to a GDK drawable.
Drawables to Pixbufs - Getting parts of a GDK drawable's image data into a pixbuf.
Utilities - Utility and miscellaneous convenience functions.
Animations - Animated images.
GdkPixbufLoader - Application-driven progressive image loading.
Module Interface - Extending gdk-pixbuf
gdk-pixbuf Xlib initialization - Initializing the gdk-pixbuf Xlib library.
Xlib Rendering - Rendering a pixbuf to an X drawable.
X Drawables to Pixbufs - Getting parts of an X drawable's image data into a pixbuf.
XlibRGB - Rendering RGB buffers to X drawables.
II. Tools Reference
gdk-pixbuf-csource - C code generation utility for GdkPixbuf images
gdk-pixbuf-query-loaders - GdkPixbuf loader registration utility
Index of deprecated symbols
Index of new symbols in 2.2
Index of new symbols in 2.4
Index of new symbols in 2.6
A. Porting applications from Imlib to gdk-pixbuf
Differences between Imlib and gdk-pixbuf
Memory management
The Rendering Process
Converting Applications to gdk-pixbuf
Image loading and creation
Rendering Images
Scaling Images
Getting Image Data from a Drawable
B. License