pub fn encode_pixels( rgba: &[u8], width: u32, height: u32, format: WzPngFormat, ) -> WzResult<Vec<u8>>