You can use the .naturalWidth and .naturalHeight properties of the image element to get its original size…
.naturalwidth property in javascript
1 Article
1
40+ Free Online AI Courses Click Here
You can use the .naturalWidth and .naturalHeight properties of the image element to get its original size…