detectImageType(data: Uint8Array): string | null
Detect the actual image type from magic bytes. Returns the MIME type if matched, null otherwise.
data: Uint8Array
detectImageType(data: Uint8Array): string | null
Detect the actual image type from magic bytes. Returns the MIME type if matched, null otherwise.
data: Uint8Array
import { detectImageType } from "docs/embed.ts";