API ReferenceAPI Reference·ModulesModules·VisionVision·oa::Imageoa::Imageoa::image::center_cropExtract a centered region with the requested exact extent.FnRust public APISourceSourceFunction Documentationpub fn center_crop( input: &Image, width: u32, height: u32 ) -> Result<Image>SourceSourceExtract a centered region with the requested exact extent.
pub fn center_crop( input: &Image, width: u32, height: u32 ) -> Result<Image>SourceSourceExtract a centered region with the requested exact extent.