I have problem how to get image's width and height (represented by file.jpg) faster.
Using BufferedImage's getWidth() or getHeight() methods is very slow cause I have to read the whole image via ImageIO.read().

Is there a way how to get image's height and width much faster ?

Thank you for your advices.