Type Alias image::buffer_::RgbaImage

source ·
pub type RgbaImage = ImageBuffer<Rgba<u8>, Vec<u8>>;
Expand description

Sendable Rgb + alpha channel image buffer

Aliased Type§

struct RgbaImage {
    width: u32,
    height: u32,
    _phantom: PhantomData<Rgba<u8>>,
    data: Vec<u8>,
}

Fields§

§width: u32§height: u32§_phantom: PhantomData<Rgba<u8>>§data: Vec<u8>

Trait Implementations§

source§

impl From<DynamicImage> for RgbaImage

source§

fn from(value: DynamicImage) -> Self

Converts to this type from the input type.