[]
        
(Showing Draft Content)

getSupportedImageFormats

Function: getSupportedImageFormats()

function getSupportedImageFormats(): ImageMimeType[];

Gets an array of supported image formats using the canvas element and its toDataURL method.

Returns

ImageMimeType[]

  • An array of supported image formats.