image_format: Return the image format of an arbitrary file

Description Usage Arguments

Description

Determines if a given file is a png, jpg, bmp, gif, tiff or webp image, based on the file signature. If the file is none of these, NULL is returned. If the file does not exist, an error is thrown.

Usage

1
image_format(file_path)

Arguments

file_path

File path of a file that may or may not be an image.


mdneuzerling/RDCOMOutlook documentation built on May 21, 2019, 12:21 p.m.