Overload | Description |
---|---|
FromImage(NImage) | Creates a Base64 data URI using the encoded data of the given image or encoding it to PNG if it is not already encoded. Returns null if the image serialization fails. |
FromImage(NImage,NImageFormat) | Creates a Base64 data URI by encoding the given image to the specified image format. Returns null if the image encoding fails. |