Three ways to convert data to image in a WPF application.
-
Convert html string to image using HTML-Renderer. Inspired by Convert HTML string to image
-
Render WPF control directly to images.
-
In the background, convert html format data to images with CefSharp, obtaining relatively good image quality.