Hello,
Welcome to our Microsoft Q&A platform!
For this function, try the two ways:
1.You could take a screenshot with the frame of the Image using Xamarin.Essentials.Screenshot and save the screenshot.
2.Or try get the sKBitmap from the Image
using SKBitmap.Decode
method. After drawing on the skBitmap, save the bitmap to file using SKImage.Encode
method.
var _bitmap = SKBitmap.Decode(imageStream);//or path
SKImage image = SKImage.FromBitmap(_bitmap);
SKData data = image.Encode();
//save the image using the data
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.