Function mp4_writer::trim_image
source · pub fn trim_image<FMT>(
orig: &dyn ImageStride<FMT>,
width: u32,
height: u32
) -> TrimmedImage<'_, FMT>
Expand description
Trim input image to be divisible by 2 width and height.
pub fn trim_image<FMT>(
orig: &dyn ImageStride<FMT>,
width: u32,
height: u32
) -> TrimmedImage<'_, FMT>
Trim input image to be divisible by 2 width and height.