Resize image and output as a C-language 3D array of RGB byte values.