ranga 1.0.0

Core image processing library — color spaces, blend modes, pixel buffers, filters, and GPU compute for Rust
Documentation
//! GPU compute pipeline via wgpu.
//!
//! Provides GPU-accelerated versions of blend, color conversion, and filter
//! operations. Requires the `gpu` feature flag.
//!
//! # Architecture
//!
//! - [`GpuContext`] manages the wgpu device/queue with optional ai-hwaccel detection
//! - [`GpuBuffer`] wraps GPU storage buffers for pixel data upload/download
//! - Shader modules provide WGSL compute shaders for each operation
//! - Automatic CPU fallback when GPU is unavailable

mod buffer;
mod context;
mod pipeline;
mod shaders;

pub use buffer::GpuBuffer;
pub use context::{GpuContext, GpuError};
pub use pipeline::{
    GpuChain, gpu_blend, gpu_brightness_contrast, gpu_crop, gpu_dissolve, gpu_fade,
    gpu_flip_horizontal, gpu_flip_vertical, gpu_gaussian_blur, gpu_grayscale, gpu_invert,
    gpu_noise_gaussian, gpu_resize, gpu_saturation, gpu_wipe,
};