markmv - v1.39.2
    Preparing search index...

    Function imageMimeTypeForExtension

    • Resolve the mime type for an image file extension.

      Parameters

      • extension: string

        File extension with or without a leading dot; case-insensitive

      Returns string

      The image mime type for the extension

      Error when the extension has no known image mime type