Using BitmapDecoder and BitmapFrame I can determine the images pixels size and resolution without reading the entire file. My reason for this is the files I'm dealing with are huge.
Using Guid guid = decoder.CodecInfo.ContainerFormat; I'm not sure how and what to compare this value to if at all possible.
I'm trying to determine the file type (BMP, PNG, etc)
Any help?