Realm

oa::image::crop

Extract a region, clipping its right and bottom edges to the source extent.

FnRust public API

Function Documentation

pub fn crop( input: &Image, x: u32, y: u32, width: u32, height: u32 ) -> Result<Image>
Extract a region, clipping its right and bottom edges to the source extent.