Use ImageSource with SkiaSharp

Dirk 1 Reputation point
2021-09-23T15:27:57.74+00:00

Hello,

I have a control, that is derived from a SkiaSharp SKGLView. Now I like to add an ImageSource. The content of this ImageSource should now loaded and converted into a SKPicture, so that it could be drawn to the SKCanvas. Is this easy to do? Or do I have to add this functionality by my own (check, what type of ImageSource this is and than handle them all by my own).

Do any one know any examples? Any controls, that do this?

Thank you for your help.

Best regards,
Dirk

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} votes