Scales the image provided to the given width and height.
A blob containing the image to scale.
The width to scale the image to.
The height to scale the image to.
The format of the scaled image.
A promise that resolves to a string containing the scaled image in a base64 representation.
Scales the image provided to the given width and height.