markmv - v1.39.2
    Preparing search index...

    Function imageExtensionForMimeType

    • Resolve the preferred file extension for an image mime type.

      Parameters

      • mimeType: string

        Image mime type, for example the one parsed from a data URI

      Returns string

      The file extension without a leading dot

      Error when the mime type has no known image file extension