Crate plutofilter_rs

Crate plutofilter_rs 

Source
Expand description

PlutoFilter implementation

Re-exports§

pub use arena::ImageEditor;

Modules§

arena
arena provides API using image crate to expose easy to use methods for surface API

Structs§

Surface
Represents a 2D image surface in RGBA32 premultiplied format. These pixels are unpacked as: let [r, g, b, a] = pixel.to_le_bytes(); Each pixel is a 32-bit unsigned integer with channels ordered as: alpha, red, green, blue. The red, green, and blue channels are premultiplied by the alpha channel. That is, red = red * alpha / 255, and similarly for green and blue.

Enums§

BlendMode
Blend modes for combining source and backdrop surfaces.
ColorChannel
Primary use is to deserialize the u32 pixel into sub pixel as ARGB32 or RGBA32
CompositeOperator
Compositing operators for combining source and backdrop surfaces.
SurfaceError

Functions§

get_resource_path
Helper function to find file in res folder in root directory