I'm using the Sun ExampleFileFilter to locate and read image files. Problem I have is that I'd like to filter on more than file extension. I'd like to only allow rgb (3 band) files with certain minimum or maximum dimensions (height and width) maybe 8 bit per band also.

Can I by hook or crook get this info before reading the complete file and getting a BufferedImage? Seems that I should be a able to get the header info etc. at the ImageReader step.