Get Image Height and Width
i am trying to get the height and width of an imgae,
url = new URL("some url of an image");
Image img = Toolkit.getDefaultToolkit().getDefaultToolkit().cr eateImage(url);
but not able to get the real height and width.
i am trying to put null at ????..
To ImageIO or not to ImageIO
For those who doubted that ImageIO existed...
ImageIO (Java Platform SE 6)
... and guess what?... it does have a read() method... as a matter of fact , it has 4 read() methods.