static async fromURL(url) {
        const response = await getFile(url);
        if (response.status !== 200) {
            throw new Error(`Unable to read image from "${url}" (${response.status} ${response.statusText})`);
        }
        const blob = await response.blob();
        return this.fromBlob(blob);
    }
Read an image from a URL or file path.
@param {string|URL} url The URL or file path to read the image from.
@returns {Promise<RawImage>} The image object.