[−][src]Trait ffimage::core::traits::ImageView
View into an image, provides read-only pixel access
Associated Types
Loading content...Required methods
fn width(&self) -> u32
Width in pixels
fn height(&self) -> u32
Height in pixels
fn stride(&self) -> usize
Length of one pixel row in bytes
fn get_pixel(&self, x: u32, y: u32) -> Option<Self::T>
Returns the pixel at the specified coordinates