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.

Documentation

Using

We recommend using crates from crates.io, as demonstrated here.

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

[dependencies]
gdk-pixbuf = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gdk-pixbuf" }

Avoid mixing versioned and git crates like this:

# This will not compile
[dependencies]
gdk-pixbuf = "0.13"
gdk-pixbuf = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gdk-pixbuf" }

See Also

License

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

Re-exports

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

Modules

  • Traits intended for blanket imports.
  • Traits intended for creating custom types.

Structs

Enums

  • 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().