How to read an image from the localhost url and get its width and height in javascript

后端 未结 0 1803
我寻月下人不归
我寻月下人不归 2020-12-24 01:51

Hey guys I am new to javascript and react, I want to get the image\'s width and height when its loaded from the image url. How to do it? Help would be much appreciated.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题