Crate pixelutil_image

Source

Functions§

clamp_pixel
Returns the pixel at the given coordinates, clamping the coordinates to the image bounds.
clamp_pixel_unchecked
Returns the pixel at the given coordinates, without checking for empty image.
get_pixel
Returns the pixel at the given coordinates if it is within the bounds of the image.
in_bounds
Returns true if the given coordinates are within the bounds of the image.