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