pub type Rgba32FImage = ImageBuffer<Rgba<f32>, Vec<f32>>;Expand description
An image buffer for 32-bit float RGBA pixels, where the backing container is a flattened vector of floats.
Aliased Type§
pub struct Rgba32FImage {
width: u32,
height: u32,
_phantom: PhantomData<Rgba<f32>>,
data: Vec<f32>,
}Fields§
§width: u32§height: u32§_phantom: PhantomData<Rgba<f32>>§data: Vec<f32>Trait Implementations§
Source§impl From<DynamicImage> for Rgba32FImage
impl From<DynamicImage> for Rgba32FImage
Source§fn from(value: DynamicImage) -> Self
fn from(value: DynamicImage) -> Self
Converts to this type from the input type.