Open TriLogic opened 3 years ago
I was able to write latitude/longitude values this way:
image.Properties.Set(ExifTag.GPSLatitude, 38f, 54f, 36f);
image.Properties.Set(ExifTag.GPSLatitudeRef, GPSLatitudeRef.North);
image.Properties.Set(ExifTag.GPSLongitude, 77f, 0f, 53f);
image.Properties.Set(ExifTag.GPSLongitudeRef, GPSLongitudeRef.West);
image.Properties.Set(ExifTag.GPSAltitude, 2f);
image.Properties.Set(ExifTag.GPSAltitudeRef, GPSAltitudeRef.AboveSeaLevel);
The latitude/longitude values are in degrees / minutes / seconds.
this produces a target file for which the longitude cannot be read