How to extract width and height of image?

How to extract width and height of image that I’m am about to load from local location like desktop?

How are you loading it? Which file format?

Or if you use something like this,
http://answers.unity3d.com/answers/802424/view.html

then tex.width and tex.height should give you the size

1 Like

Thanks!!!How could i miss that