powered by
NB this just checks the magic 'BM' in the first two bytes of the file
is.bmp(source)
file or connection
TRUE or FALSE