title: How to calculate Image Size in JS or jQuery or JAVA?
body: <p>I need to calculate the size of an image. I've an image src and base64 data also. I want to show the current image size.
  I'm using java and javascript.
  Is there any option using which I can calculate size of the image?</p>