Encodes the specified image into a string that can be embedded. The returned value can be assigned to the 'data' attribute of the 'img' tag to embedd the image directly inside the formatted text value. Note that you can also display an image from a file or URL by using the 'src' attribute of the 'img' tag without having to embedd it inside the formatted text value.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2