Hi everyone !
I'm trying to set my SKCanvasView with a picture that I get this way :
var pictureBytes = await picManager.GetImagBytes("Photo_7313c011-ce59-42b9-849d-acd7d2046b08"); var bitmap = SKBitmap.Decode(SKData.CreateCopy(pictureBytes)); this.canvasView = new SKCanvas(bitmap); <- giving me an error
The error says that "Cannot implicitly convert type 'SkiaSharp.SKCanvas' to 'SkiaSharp.Views.Forms.SKCanvasView' which makes sense.
The problem is that I can't find a way to define the canvas of this canvasView.
Would anyone have an idea on how to do that ?