Type Alias RgbF32ImageStore

Source
pub type RgbF32ImageStore<'a> = ImageStore<'a, f32, 3>;

Aliased Type§

struct RgbF32ImageStore<'a> {
    pub buffer: Cow<'a, [f32]>,
    pub channels: usize,
    pub width: usize,
    pub height: usize,
    pub stride: usize,
    pub bit_depth: usize,
}

Fields§

§buffer: Cow<'a, [f32]>§channels: usize

Channels in the image

§width: usize

Image width

§height: usize

Image height

§stride: usize

Image stride, if stride is zero then it considered to be width * N

§bit_depth: usize

This is private field, currently used only for u16, will be automatically passed from upper func

Trait Implementations§

Source§

impl<'b> ImageStoreScaling<'b, f32, 3> for RgbF32ImageStore<'b>

Source§

fn scale( &self, store: &mut ImageStoreMut<'b, f32, 3>, options: ScalingOptions, ) -> Result<(), PicScaleError>