pub trait Image {
    fn dimensions(&self) -> (u32, u32);
fn get_pixel(&self, x: u32, y: u32) -> [u8; 4]; }
Expand description

Provides access to image data.

Required methods

Returns the dimensions of the image.

Returns the channel data for a given pixel, in RGBA format.

Implementors