I'm using SkiaSharp to generate images, and it's very hard to debug the image generation code without visual trace. I discovered there's skia debugger and it can help a lot.
I have SKCanvas created from SKBitmap, and I would like to get SKPicture from it so I can serialize it in order to load it into skia debugger.
I wasn't able to find the API to do it.
How can I do it? What approach should I take to get SKPicture from SKBitmap to see the trace of what skia does?