The gdk-pixbuf Library

Federico Mena Quintero

    federico@gimp.org
  

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,
  Boston, MA 02111-1307,
  USA

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
The GdkPixbuf Structure — Information that describes an image.
Reference Counting and Memory Mangement — Functions to perform reference counting and memory management on a GdkPixbuf.
File Loading — Loading a pixbuf from a file.
Image Data in Memory — Creating a pixbuf from image data that is already in memory.
Rendering — Rendering a pixbuf to a GDK drawable.
Scaling — Scaling pixbufs and scaling and compositing pixbufs
Drawables to Pixbufs — Getting parts of a drawable's image data into a pixbuf.
Utilities — Utility and miscellaneous convenience functions.
Animations — Animations as multi-frame structures.
GdkPixbufLoader — Application-driven progressive image loading.
GnomeCanvasPixbuf — Canvas item to display GdkPixbuf images.
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 — Functions for rendering RGB buffers to X drawables.
Porting applications from Imlib to gdk-pixbuf
Introduction
Differences between Imlib and gdk-pixbuf
Initialization
Memory management
The Rendering Process
Converting Applications to gdk-pixbuf
Image loading and creation
Rendering Images
Scaling Images
Getting Image Data from a Drawable
Compiling the gdk-pixbuf library
Building the Library
Extra Configuration Options
License