How can i examine grafics format? For example, aaa.jpg is agraphics file.
Printable View
How can i examine grafics format? For example, aaa.jpg is agraphics file.
You have to get the specifications of the graphics format. JPEG has nothing to do with Windows or VC++.
Usually all graphics file formats comes with a header record or a structure definition that is defined by the first few bytes of a file. You need to see if the first n bytes of a file matches a particular graphics file format header. There are many places on the web, as well as a lot of documentation that describes each graphics file layout and a description of the header record.
Regards,
Paul McKenzie