Represents image content that can be loaded from a local file or URL.
The file format/extension of the media content.
The path to local file or URL of the image.
Gets the MIME type based on the image format.
Checks if the image source is a URL.
Converts the media content to base64 encoded string.