我正在尝试将Xamarin.forms.image转换为CoreGraphics.CGImage。
void saveImg(Xamarin.Forms.Image image)
{
CoreGraphics.CGImage CGImage = (CoreGraphics.CGImage)image;
}
虽然这不起作用......
错误消息:"无法转换类型' Xamarin.Forms.Image' to' CoreGraphics.CGImage' "
转换此图片的方法是什么?