Namespace

GdkPixbuf – 2.0

Image loading library

Version2.42.10
AuthorsGTK Development Team
LicenseGPL-2.1-or-later
Websitehttps://www.gtk.org
Sourcehttps://gitlab.gnome.org/GNOME/gdk-pixbuf/

Build

C headersgdk-pixbuf/gdk-pixbuf.h
pkg-config filesgdk-pixbuf-2.0

Dependencies

GObject—2.0 The base type system library
Browse documentation

Additional documentation

Classes

Pixbuf

A pixel buffer.

since: 2.0

PixbufAnimation

An opaque object representing an animation.

since: 2.0

PixbufAnimationIter

An opaque object representing an iterator which points to a certain position in an animation.

since: 2.0

PixbufLoader

Incremental image loader.

since: 2.0

PixbufNonAnim

since: 2.0

PixbufSimpleAnim

An opaque struct representing a simple animation.

since: 2.0

PixbufSimpleAnimIter

since: 2.0

Structs

PixbufFormat

A GdkPixbufFormat contains information about the image format accepted by a module.

since: 2.2

PixbufModule

A GdkPixbufModule contains the necessary functions to load and save images in a certain file format.

since: 2.0

PixbufModulePattern

The signature prefix for a module.

since: 2.2

Enumerations

Colorspace

This enumeration defines the color spaces that are supported by the gdk-pixbuf library.

since: 2.0

InterpType

Interpolation modes for scaling functions.

since: 2.0

PixbufAlphaMode

Control the alpha channel for drawables.

deprecated: 2.42 since: 2.0

PixbufRotation

The possible rotations which can be passed to gdk_pixbuf_rotate_simple().

since: 2.0

Bitfields

PixbufFormatFlags

Flags which allow a module to specify further details about the supported operations.

since: 2.2

Error Domains

PixbufError

An error code in the GDK_PIXBUF_ERROR domain.

since: 2.0

Callbacks

PixbufDestroyNotify

A function of this type is responsible for freeing the pixel array of a pixbuf.

since: 2.0

PixbufModuleBeginLoadFunc

Sets up the image loading state.

since: 2.0

PixbufModuleFillInfoFunc

Defines the type of the function used to fill a GdkPixbufFormat structure with information about a module.

since: 2.2

PixbufModuleFillVtableFunc

Defines the type of the function used to set the vtable of a GdkPixbufModule when it is loaded.

since: 2.2

PixbufModuleIncrementLoadFunc

Incrementally loads a buffer into the image data.

since: 2.0

PixbufModuleLoadAnimationFunc

Loads a file from a standard C file stream into a new GdkPixbufAnimation.

since: 2.0

PixbufModuleLoadFunc

Loads a file from a standard C file stream into a new GdkPixbuf.

since: 2.0

PixbufModuleLoadXpmDataFunc

Loads XPM data into a new GdkPixbuf.

since: 2.0

PixbufModulePreparedFunc

Defines the type of the function that gets called once the initial setup of pixbuf is done.

since: 2.2

PixbufModuleSaveCallbackFunc

Saves a GdkPixbuf by calling the provided function.

since: 2.0

PixbufModuleSaveFunc

Saves a GdkPixbuf into a standard C file stream.

since: 2.0

PixbufModuleSaveOptionSupportedFunc

Checks whether the given option_key is supported when saving.

since: 2.0

PixbufModuleSizeFunc

Defines the type of the function that gets called once the size of the loaded image is known.

since: 2.2

PixbufModuleStopLoadFunc

Finalizes the image loading state.

since: 2.0

PixbufModuleUpdatedFunc

Defines the type of the function that gets called every time a region of pixbuf is updated.

since: 2.2

PixbufSaveFunc

Save functions used by gdk_pixbuf_save_to_callback().

since: 2.4

Function Macros

PIXBUF_CHECK_VERSION

Macro to test the version of GdkPixbuf being compiled against.

since: 2.36

Constants

PIXBUF_MAJOR

Major version of gdk-pixbuf library, that is the “0” in “0.8.2” for example.

since: 2.0

PIXBUF_MICRO

Micro version of gdk-pixbuf library, that is the “2” in “0.8.2” for example.

since: 2.0

PIXBUF_MINOR

Minor version of gdk-pixbuf library, that is the “8” in “0.8.2” for example.

since: 2.0

PIXBUF_VERSION

Contains the full version of GdkPixbuf as a string.

since: 2.0