ref: 688495846475520d03a5e17c2bf8e7e5c9c1749f
parent: 5c78f98021375816e6bd0e417bf618131a3d7371
author: Igor Böhm <igor@9lab.org>
date: Fri Dec 27 20:55:35 EST 2024
add GPS tags (i.e. Latitude, Longitude, …)
--- a/exif.c
+++ b/exif.c
@@ -63,6 +63,13 @@
Contrast,
Saturation,
Sharpness,
+ Altitude=0x0006,
+ LatitudeHemisphere=0x0001,
+ Latitude=0x0002,
+ LongitudeHemisphere=0x0003,
+ Longitude=0x0004,
+ ImageDirection=0x0011,
+ HorizontalPositioningError=0x001f,
};
enum{
@@ -177,6 +184,13 @@
{ Contrast, "Contrast" },
{ Saturation, "Saturation" },
{ Sharpness, "Sharpness" },
+ { Altitude, "Altitude", 1, prdec, "m" },
+ { LatitudeHemisphere, "LatitudeHemisphere", 1},
+ { Latitude, "Latitude", 1, prdec},
+ { LongitudeHemisphere, "LongitudeHemisphere", 1},
+ { Longitude, "Longitude", 1, prdec},
+ { ImageDirection, "ImageDirection", 1, prdec},
+ { HorizontalPositioningError, "HorizontalPositioningError", 0, prdec},
{ 0 }
};