How to get the width and height of an imagefile in java

thankyou for ur reply.