Check the image file as JPEG...
Hi buddies,
here is the code to check the given file format is JPEG. Useful one...
Bitmap bm(L"Picture.dat");
GUID guidFileFormat;
bm.GetRawFormat(&guidFileFormat);
if(guidFileFormat == ImageFormatJPEG)
MessageBox(0, " JPEG!", 0, MB_OK);
.............
thanks
