An app I'm working on needs to dynamically generate bitmap images using vector drawing commands. There are two desired targets: a alpha-channel-friendly bitmap file like .PNG and an ImageSource for binding to Xamarin Forms Image controls, creating and updating app-level DynamicResources, etc.
What is the best way to go about this? Do SKBitmap or SKImage objects have a way to convert to a Bitmap or ImageSource object? Does the SKData object need to produce the raw bytes, and then those are used to hydrate a bitmap object?