mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Added GPS tags
This commit is contained in:
parent
f63cc582b7
commit
eccf9e87cf
|
@ -232,7 +232,39 @@ TAGS_V2_GROUPS = {
|
||||||
41730: ("CFAPattern", UNDEFINED, 1),
|
41730: ("CFAPattern", UNDEFINED, 1),
|
||||||
},
|
},
|
||||||
# GPSInfoIFD
|
# GPSInfoIFD
|
||||||
34853: {},
|
34853: {
|
||||||
|
0: ("GPSVersionID", BYTE, 4),
|
||||||
|
1: ("GPSLatitudeRef", ASCII, 2),
|
||||||
|
2: ("GPSLatitude", RATIONAL, 3),
|
||||||
|
3: ("GPSLongitudeRef", ASCII, 2),
|
||||||
|
4: ("GPSLongitude", RATIONAL, 3),
|
||||||
|
5: ("GPSAltitudeRef", BYTE, 1),
|
||||||
|
6: ("GPSAltitude", RATIONAL, 1),
|
||||||
|
7: ("GPSTimeStamp", RATIONAL, 3),
|
||||||
|
8: ("GPSSatellites", ASCII, 0),
|
||||||
|
9: ("GPSStatus", ASCII, 2),
|
||||||
|
10: ("GPSMeasureMode", ASCII, 2),
|
||||||
|
11: ("GPSDOP", RATIONAL, 1),
|
||||||
|
12: ("GPSSpeedRef", ASCII, 2),
|
||||||
|
13: ("GPSSpeed", RATIONAL, 1),
|
||||||
|
14: ("GPSTrackRef", ASCII, 2),
|
||||||
|
15: ("GPSTrack", RATIONAL, 1),
|
||||||
|
16: ("GPSImgDirectionRef", ASCII, 2),
|
||||||
|
17: ("GPSImgDirection", RATIONAL, 1),
|
||||||
|
18: ("GPSMapDatum", ASCII, 0),
|
||||||
|
19: ("GPSDestLatitudeRef", ASCII, 2),
|
||||||
|
20: ("GPSDestLatitude", RATIONAL, 3),
|
||||||
|
21: ("GPSDestLongitudeRef", ASCII, 2),
|
||||||
|
22: ("GPSDestLongitude", RATIONAL, 3),
|
||||||
|
23: ("GPSDestBearingRef", ASCII, 2),
|
||||||
|
24: ("GPSDestBearing", RATIONAL, 1),
|
||||||
|
25: ("GPSDestDistanceRef", ASCII, 2),
|
||||||
|
26: ("GPSDestDistance", RATIONAL, 1),
|
||||||
|
27: ("GPSProcessingMethod", UNDEFINED, 0),
|
||||||
|
28: ("GPSAreaInformation", UNDEFINED, 0),
|
||||||
|
29: ("GPSDateStamp", ASCII, 11),
|
||||||
|
30: ("GPSDifferential", SHORT, 1),
|
||||||
|
},
|
||||||
# InteroperabilityIFD
|
# InteroperabilityIFD
|
||||||
40965: {1: ("InteropIndex", ASCII, 1), 2: ("InteropVersion", UNDEFINED, 1)},
|
40965: {1: ("InteropIndex", ASCII, 1), 2: ("InteropVersion", UNDEFINED, 1)},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user