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