mime_image {exams.forge} | R Documentation |
MIME Image
Description
Returns the MIME type of an image based on the filename
extension.
If a MIME type for a file extension cannot not found, then the extension itself will be returned.
Usage
mime_image(filename)
mime_img(filename)
Arguments
filename |
character: file name |
Value
A character.
Examples
mime_image("support.png")
mime_image("support.jpg")
[Package exams.forge version 1.0.10 Index]