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