I am trying to create WPF application that gets data from service. The data is image URLs. Sometimes the service returns Data URLs.
If I tries to bind that URL to Image control like:
<Image Source="{Binding URL}" />
It's working for regular URL, but Data URLs are not displayed.
Is there any way to display Data URL in WPF control?
Create a value converter, which converts base64 data to a
BitmapImage:Then create a converter resource:
and use it like this: