提取Exif(Exchangeable image file format)数据结构中与GPS对应的IFD(Image File Directory)信息,即GPS_TAG。 关键是要明确JPEG文件的文件结构。 //Get GPS Info From JPG File //Johnny.cxx@gmail.com //2012.4.30 #include <Windows.h> #include <iostream> #include <string> using namespace std; //const...