CCC Docs
    Preparing search index...

    Function detectImageMimeTypeFromBase64

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

      Parameters

      • base64Content: string

        Base64-encoded image content

      Returns null | string

      The detected MIME type or null if not recognized