pub fn force_pixel_format_ref<'a, FMT1, FMT2>(
frame: &'a dyn HasRowChunksExact<FMT1>,
) -> ImageRef<'a, FMT2>where
FMT1: 'a,
FMT2: 'a + PixelFormat,Expand description
Force interpretation of data from frame into another pixel_format.
This makes a view of the original data and does not perform conversion of the underlying data, but rather changes only the rust type. See force_pixel_format for a function which consumes the original data and moves it into the output.