The URL of the image. It can be a local file (blob url) or a remote file.
Optionalopts: { maxHeight?: number; maxWidth?: number }Options for the image size.
OptionalmaxHeight?: numberThe maximum height of the image.
OptionalmaxWidth?: numberThe maximum width of the image.
The dimensions of the image.
Get the dimensions of an image from a URL.