What, exactly, do you mean by image properties - width, height and color depth? If so, check out Marco Schmidt's ImageInfo class. If you meant something else, please be more specific.
So what you have is a file name, and now you want to check whether a file with that name exists in a given directory? The java.io.File class has everything you need for that.
Don't get me started about those stupid light bulbs.