fn read_anim_frame<R: Read>( reader: R, canvas_width: u32, canvas_height: u32, ) -> ImageResult<AnimatedFrame>