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.70.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
Modules
- Traits intended for blanket imports.
- Traits intended for creating custom types.
Structs
- 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.
- Implements
- An opaque struct representing a simple animation.
Enums
- This enumeration defines the color spaces that are supported by the gdk-pixbuf library.
- Interpolation modes for scaling functions.
- PixbufAlphaModeDeprecatedControl 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().