Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
utils/image-mime
detectMimeType
Function detectMimeType
detectMimeType
(
bytes
:
Uint8Array
)
:
string
Detect a supported image MIME type from its magic bytes.
Parameters
bytes
:
Uint8Array
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
Detect a supported image MIME type from its magic bytes.