Type Alias image::buffer_::GrayAlphaImage
source · pub type GrayAlphaImage = ImageBuffer<LumaA<u8>, Vec<u8>>;
Expand description
Sendable grayscale + alpha channel image buffer
Aliased Type§
struct GrayAlphaImage {
width: u32,
height: u32,
_phantom: PhantomData<LumaA<u8>>,
data: Vec<u8>,
}
Fields§
§width: u32
§height: u32
§_phantom: PhantomData<LumaA<u8>>
§data: Vec<u8>
Trait Implementations§
source§impl From<DynamicImage> for GrayAlphaImage
impl From<DynamicImage> for GrayAlphaImage
source§fn from(value: DynamicImage) -> Self
fn from(value: DynamicImage) -> Self
Converts to this type from the input type.