pub fn convert_into<SRC, DEST>(
source: &dyn HasRowChunksExact<SRC>,
dest: &mut dyn HasRowChunksExactMut<DEST>,
) -> Result<(), Error>where
SRC: PixelFormat,
DEST: PixelFormat,Expand description
Convert input image, a reference to a trait object implementing
HasRowChunksExact<SRC>, into a mutable reference to an already allocated
destination frame implementing HasRowChunksExactMut<DEST>.
This is a general purpose function which should be able to convert between many types as efficiently as possible.