Function convert_image::convert_into

source ·
pub fn convert_into<SRC, DEST>(
    frame: &dyn ImageStride<SRC>,
    dest: &mut dyn ImageStrideMut<DEST>
) -> Result<(), Error>
where SRC: PixelFormat, DEST: PixelFormat,
Expand description

Convert input frame with pixel_format SRC into pixel_format DEST

This is a general purpose function which should be able to convert between many types as efficiently as possible.