Module infer::image[][src]

Functions

is_avif

Returns whether a buffer is AVIF image data.

is_bmp

Returns whether a buffer is BMP image data.

is_cr2

Returns whether a buffer is Canon CR2 image data.

is_gif

Returns whether a buffer is GIF image data.

is_heif

Returns whether a buffer is HEIF image data.

is_ico

Returns whether a buffer is ICO icon image data.

is_jpeg

Returns whether a buffer is JPEG image data.

is_jpeg2000

Returns whether a buffer is jpg2 image data.

is_jxr

Returns whether a buffer is jxr image data.

is_png

Returns whether a buffer is PNG image data.

is_psd

Returns whether a buffer is Photoshop PSD image data.

is_tiff

Returns whether a buffer is TIFF image data.

is_webp

Returns whether a buffer is WEBP image data.