Image sizes

Is there a way I can test for the size of an Image object. For instance, I want to do collision detection, but the image my sprite is showing is depending on the sprite’s state, and different images of different animations have different sizes.

I need to be able to test the size of the current image in order to create my bounding boxes each update. Anyone know how I can do this in code?

For an Image use the getWidth and getheight you can just pass them null.
Creating the bounds each update is a lot of unnecessary overhead, maybe let each sprite store its bounds, and if your using java.awt.Rectangle use setFrame or setLocation.