Type Alias image::Rgba32FImage
source · 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§
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.