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.83.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 gdk_pixbuf_sys as ffi;pub use gio;pub use glib;
Modules§
Structs§
- Pixbuf
- A pixel buffer.
- Pixbuf
Animation - An opaque object representing an animation.
- Pixbuf
Animation Iter - An opaque object representing an iterator which points to a certain position in an animation.
- Pixbuf
Format - A
PixbufFormatcontains information about the image format accepted by a module. - Pixbuf
Format Flags - Flags which allow a module to specify further details about the supported operations.
- Pixbuf
Loader - Incremental image loader.
- Pixbuf
NonAnim - Implements
- Pixbuf
Simple Anim - An opaque struct representing a simple animation.
Enums§
- Colorspace
- This enumeration defines the color spaces that are supported by the gdk-pixbuf library.
- Interp
Type - Interpolation modes for scaling functions.
- Pixbuf
Alpha Mode Deprecated - Control the alpha channel for drawables.
- Pixbuf
Error - An error code in the
GDK_PIXBUF_ERRORdomain. - Pixbuf
Rotation - The possible rotations which can be passed to gdk_pixbuf_rotate_simple().