identifyImageType

Identify image type by contents.

version(Have_raylib_d)
@safe
identifyImageType
(
const ubyte[] data
)

Return Value

Type: ImageType

String containing the image extension, or an empty string indicating unknown file.

Meta