[]
        
(Showing Draft Content)

imageFormatToMimeType

Function: imageFormatToMimeType()

function imageFormatToMimeType(imageFormat): ImageMimeType;

Converts a ImageFormatCode enum value to the corresponding image MIME type.

Parameters

imageFormat

ImageFormatCode

The ImageFormatCode enum value representing the image format.

Returns

ImageMimeType

  • The corresponding image MIME type.