private static void TestWriteGPS() { ImageWI iwi = new ImageWI(new FileInfo(@"..\..\..\testdata\gps\pic.jpg")); // tweak date to match the on in gpx file iwi.ExifDate = DateTime.Parse("01.09.2008"); var wpl = GEOTagTask.initGPXFiles(new List <FileInfo> { new FileInfo(@"..\..\..\testdata\gps\testdata.gpx") }); var wp = GEOTagTask.findWaypoint4Date(iwi.ExifDate, wpl); ImageWorker.WriteGPSDateIntoImage(iwi.CurrentFile, new FileInfo(iwi.CurrentFile.AugmentFilename("_withgps")), wp); }
private static void GPSTest() { var wpl = GEOTagTask.initGPXFiles(new List <FileInfo> { new FileInfo(@"..\..\..\testdata\gps\testdata.gpx") }); }