SKImage.encodeToBase64 Don't Converts WebP on iOS #2838
Unanswered
ilkercropy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#Description
I'm using SKImage.encodeToBase64 to convert an image to a Base64 string in WebP format. This function works perfectly on Android, where it correctly outputs the Base64 string in the WebP format. However, on iOS, it appears to convert the image to PNG format, even when the format parameter is explicitly set to WebP.
#Code Example
Here's the code snippet:
const base64 = image.encodeToBase64(format, 100);
Beta Was this translation helpful? Give feedback.
All reactions