Is there a quick and easy way to determine if a file is an image?
Posted on 2004-11-16
I received images in the course of a normal day. However, the files do not have normal extensions (".aaa", ".aab", ".aac", etc instead of ".gif", ".jpg", ".tif", etc) and are intermixed with non-image files in an archive.
I'm writing an app that will extract and display the images, but I want to weed out the non-image files from the directory list.
Does vb.net have a quick and easy way to determine if a file is a displayable image or not?
Thanks in advance.