Crate gdk_pixbuf

source ·
Expand description

Rust GDK-PixBuf bindings

Rust bindings and wrappers for GDK-Pixbuf, part of gtk-rs-core.

GDK-PixBuf 2.36.8 is the lowest supported version for the underlying library.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.63.0.



We recommend using crates from, as demonstrated here.

If you want to track the bleeding edge, use the git dependency instead:

gdk-pixbuf = { git = "", package = "gdk-pixbuf" }

Avoid mixing versioned and git crates like this:

gdk-pixbuf = "0.13"
gdk-pixbuf = { git = "", package = "gdk-pixbuf" }

See Also


gdk-pixbuf is available under the MIT License, please refer to it.


pub use ffi;
pub use gio;
pub use glib;


Traits intended for blanket imports.


A pixel buffer.
An opaque object representing an animation.
An opaque object representing an iterator which points to a certain position in an animation.
A PixbufFormat contains information about the image format accepted by a module.
Flags which allow a module to specify further details about the supported operations.
Incremental image loader.
An opaque struct representing a simple animation.


This enumeration defines the color spaces that are supported by the gdk-pixbuf library.
Interpolation modes for scaling functions.
Control the alpha channel for drawables.
An error code in the GDK_PIXBUF_ERROR domain.
The possible rotations which can be passed to gdk_pixbuf_rotate_simple().