Skip to contents

MIME type of an image file from its first bytes

Usage

imageMime(path)

Arguments

path

One file.

Value

"image/png", "image/jpeg", "image/gif", "image/webp" or NA.