首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

请教怎么从jpg文件中读取gps信息,该信息应该包含在exif头信息里的

2012-03-01 
请问如何从jpg文件中读取gps信息,该信息应该包含在exif头信息里的如题,不甚感激[解决办法]標準的文件格式

请问如何从jpg文件中读取gps信息,该信息应该包含在exif头信息里的
如题,不甚感激

[解决办法]
標準的文件格式包括:


? File Header,
? 0th IFD,
? 0th IFD Value,
? 1st IFD,
? 1st IFD Value,
? 1st (Thumbnail) Image Data,
? 0th (Primary) Image Data.





GPS IFD is a set of tags for recording GPS information. It is pointed to by the offset from the TIFF header (Value Offset) indicated by a GPS private tag value.


GPS Info IFD Pointer
Tag = 34853 (8825.H)
Type = LONG
Count = 1
Default = none

热点排行