Function get_pixel

Source
pub fn get_pixel<I: GenericImageView>(
    image: &I,
    x: i32,
    y: i32,
) -> Option<I::Pixel>
Expand description

Returns the pixel at the given coordinates if it is within the bounds of the image.