CCC Docs
    Preparing search index...

    Function detectImageMimeType

    • Detects the MIME type of an image from its hex-encoded content by examining file signatures

      Parameters

      • hexContent: string

        Hex-encoded image content

      Returns null | string

      The detected MIME type or null if not recognized