fn pad_cast_img<T: Copy + Pod>(img: &ImageInfo, pad: T) -> Cow<'static, [u8]>
Pad an RGB image to RGBA and cast the results to bytes.