pub fn flip_rows(w: u32, h: u32, rgba: &mut [u8])
Reverse the row order of an RGBA8 buffer in place.
OpenGL’s glReadPixels returns the bottom row first; image files store the top row first.
glReadPixels