Creates a standard data URI from an image in a disk file.
fileName
Name of a file on disk containing an image file. Supported image formats are PNG, GIF and JPEG. All other image formats will result in an error.
A data URI string containing the media type, encoding and image data encoded as base 64.
Refer to Parse for more information about data URIs.
Use EncodeFromStream to create a standard data URI from a stream.
For an example, refer to SvgDocument.EnumerateElements