Is it possible to get the natural size of a image when the image is created in javascript?
var source = new Image();
source.src = 'path/image.svg';
console.log(source.src, source.clientWidth, source.clientHeight);
Are there any caveats I should be aware of when it's an svg?