pub fn extract_frame(atlas: &SpriteAtlas, frame_index: u32) -> Result<Vec<u8>>
Extracts frame frame_index as a tightly packed frame_width * frame_height * 4 RGBA8 buffer.
frame_index
frame_width * frame_height * 4