SimpleImageInfo – A Java class to get image size without loading the whole data « Jaimon's Blog
SimpleImageInfo is a Java class to find out an image’s size and mime type without reading the whole image data. It doesn’t have any dependency on AWT or any other libraries. Currently it supports the following image types
- JPG
- GIF
- PNG
- BMP
- TIFF
Because it only read the first few bytes, in most cases it only takes less than a millisecond to return the values.
Read full article from SimpleImageInfo – A Java class to get image size without loading the whole data « Jaimon's Blog
No comments:
Post a Comment