extensions/emmet/src/imageSizeHelper.ts/getImageSize
export function getImageSize(file: string) {
	file = file.replace(/^file:\/\//, '');
	return reUrl.test(file) ? getImageSizeFromURL(file) : getImageSizeFromFile(file);
}