Retrieves an image as a base64 encoded string.
Retrieves an image as a base64 encoded string.
The name of the image
The root path in resources containing the image
The base64 encoded string representing the image
Retrieves an image as a byte array.
Retrieves an image as a byte array.
The name of the image
The root path in resources containing the image
The array of bytes representing the image
Retrieves the image as a text representation.
Retrieves the image as a text representation. This is only useful for SVGs, which are naturally XML documents.
The name of the image
The root path in resources containing the image
The string representing the image
Loads images from resources.