• Converts an image from a given URL to a specified format with the provided MIME type.

    Returns

    • A Blob object containing the converted image.

    Parameters

    • imageUrl: string

      The URL of the image.

    • targetMimeType: ImageMimeType

      The desired MIME type for conversion.

    Returns Promise<Blob>