rust_widgets 1.1.2

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 60+ widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
//! Image processing module — format detection, decoding, encoding, transform, color conversion.
//!
//! # Format support matrix (truthful)
//!
//! Decoding (`decoder::decode`) is implemented for PNG, JPEG, BMP, QOI,
//! Farbfeld, PNM (P1-P6), GIF, WebP, TIFF, AVIF, ICO, SVG and SVGZ.
//! GIF and animated WebP use the existing single-frame API and return the
//! first frame; use a future animation API when frame timing is required.
//!
//! Encoding is implemented for PNG, JPEG, BMP, GIF, TIFF, QOI, Farbfeld,
//! PNM and SVG (SVG embeds a base64 PNG). WebP/AVIF/ICO encoding returns
//! `Err`.

mod color;
pub mod decoder;
mod encoder;
pub mod exif;
pub mod format;
pub mod image_impl;
pub mod transform;

pub use color::*;
pub use decoder::{decode, decode_animation, decode_to_rgba8, detect_format};
pub use encoder::*;
pub use exif::*;
pub use format::{ColorSpace, DecodedAnimation, DecodedImage, ExifData, ImageData, ImageFormat};
pub use transform::*;

pub use image_impl::Image;