]>
Commit | Line | Data |
---|---|---|
86f343b5 RN |
1 | #include <stdio.h> |
2 | #include <glib.h> | |
3 | #include <glib/gstdio.h> | |
4 | #include "geotag_exif.h" | |
5 | #include "vikcoord.h" | |
6 | ||
7 | int main(int argc, char *argv[]) | |
8 | { | |
9 | #if !GLIB_CHECK_VERSION(2,36,0) | |
10 | g_type_init (); | |
11 | #endif | |
12 | ||
13 | int answer = 0; | |
14 | if ( argv[1] ) { | |
15 | struct LatLon ll = { 51.179489, -1.826217 }; | |
16 | VikCoord vc; | |
17 | vik_coord_load_from_latlon ( &vc, VIK_COORD_LATLON, &ll ); | |
18 | answer = a_geotag_write_exif_gps ( argv[1], vc, 0.0, TRUE ); | |
19 | } | |
20 | ||
21 | return answer; | |
22 | } | |
23 |