Xamarin.IOS - Decoding/Saving to WebP byte array

Hi,

I need to compress and save an image byte[] originally from png/jpeg to WebP format in Xmarin.IOS.

After searching, I discovered that android has this native functionality:

Bitmap.Compress(Bitmap.CompressFormat.Webp, 70, stream);
var resizedImage = stream.ToArray();

Does anyone knows how to do that in Xamarin.IOS?

Thanks a lot.

:D

Tagged:
Sign In or Register to comment.