Currently works for png, jpeg and BMP images. Will seek to start of file if passed a connection. For details of magic values for files, see e.g. http://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files
Path to file or connection
Whether to write a message to console on failure (Default F)
character value corresponding to standard file extension of image format (i.e. jpg, png, bmp) or NA_character_ on failure.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.