pub fn bitmap( bitmap: &Handle<SkBitmap>, format: SkEncodedImageFormat, quality: impl Into<Option<u32>>, ) -> Option<Vec<u8>>