views:

69

answers:

1

Good day,

Anybody knows of a good java library for retrieving mime type and dimension of a jpeg, gif, and png image file in java?

I tried javax.imageio.ImageIO but it seems that there are some image files that it can't handle (i.e. images created with adobe photoshop).

Thanks, Franz

+2  A: 

You could try Apache Sanselan for the dimension and Droid for the identification.

Fabian Steeg
Thanks, I'm trying it out right now.
Franz See
Apache Sanselan works like a charm ! :-)..Didn't try Droid though. I need image specific operations.
Franz See