[−][src]Trait blockhash::Image
Provides access to image data.
Required methods
fn dimensions(&self) -> (u32, u32)
Returns the dimensions of the image.
fn get_pixel(&self, x: u32, y: u32) -> [u8; 4]
Returns the channel data for a given pixel, in RGBA format.
Implementors
impl<T, P> Image for T where
T: GenericImageView<Pixel = P>,
P: Pixel<Subpixel = u8>,
[src]
T: GenericImageView<Pixel = P>,
P: Pixel<Subpixel = u8>,