subsurface/dives
Robert C. Helling 5c1abde2a5 Include images in profile
This adds an entry to the dive list context menu to load images. The user
can select image files and set a time offset to align camera and dive
computer clocks.

Using the exif time stamp the images are tried to match to the times of
the selected dives (with a grace period of an hour before and after the
dive).  Upon success an event of type 123 is created per image with the
string value being the path to the image.  Those images are displayed as
thumbnails in the profile. If the matching dive does not yet have a geo
location specified but the image provides one it is copied to the dive
(making the camera a poor man's companion app).

This patch includes easyexif https://code.google.com/p/easyexif/ which is
originally under a New BSD License to parse the image meta data.

This commit includes a new test dive dives/test31.xml with a matching
image wreck.jpg to try out the functionallity.

Obvious to do's:
Have images on the map
Have the images clickable
Have a proper picture viewer
Give visual reference for image time shifting.
Use the new profile

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-06 11:29:23 -08:00
..
Dive_2013-02-02-1614.xml Suunto DM4 sample dive 2013-03-05 11:08:08 -08:00
sac-test.xml Change gas in second cylinder in sac-test-dives 2013-12-02 12:33:47 -08:00
tank_pressure.xml Test dive for odd pressure profile 2014-01-01 09:48:15 -08:00
Test.csv Test dive for CSV import 2013-10-02 10:18:16 -07:00
test0.xml Change fake profile behavior 2014-01-08 21:54:29 +08:00
test0b.xml Change fake profile behavior 2014-01-08 21:54:29 +08:00
test1.xml
test2.xml
test3.xml
test4.xml
test5.xml
test6.xml
test7.xml
test8.xml
test9.xml
test9a.xml Prevent potential math overflow in new profile 2014-01-21 14:07:10 -08:00
test10.xml
test11.xml
test12.xml
test13.xml
test14.xml
test15.xml
test16.xml
test17.xml
test18.xml
test19.xml
test20.xml
test21.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test22.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test23.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test24.xml
test25.xml
test26.xml
test27.xml Add test dive for constant temperature 2013-01-24 13:19:16 -08:00
test28.xml Different Icon for a Bookmark Event. 2013-12-04 19:41:29 -08:00
test29.xml Correctly parse multiple tags in the divelog 2013-12-12 16:29:06 -08:00
test30.xml Test dive for events 2013-12-28 07:40:54 -08:00
test31.xml Include images in profile 2014-02-06 11:29:23 -08:00
TestAPDLogViewer.csv Sample dive from APDLogViewer 2013-10-03 09:39:37 -07:00
TestComma.csv Allow comma separated CSV files 2013-12-04 15:27:09 -08:00
TestDiveDivelogsDE.DLD Add two more versions of this dive from divelogs.de 2013-02-25 22:07:05 -08:00
TestDiveDivelogsDE.udcf Add two more versions of this dive from divelogs.de 2013-02-25 22:07:05 -08:00
TestDiveDivingLog5.08.udcf Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08.uddf Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08allimperial.xml Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08allmetric.xml Test dives 2013-02-26 08:50:05 -08:00
TestDiveDivingLog5.08allmetric.zip Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDM3.SDE Add the same test dive in a number of different formats 2013-02-25 20:28:58 -08:00
TestDiveDM4.db Suunto DM4 sample dive 2013-03-05 11:08:08 -08:00
TestDiveJDiveLog.jlb Add the same test dive in a number of different formats 2013-02-25 20:28:58 -08:00
TestSensusSingle.csv Sample log from Sensus Ultra, exported in CSV 2014-01-17 05:57:29 +07:00
TestXP5_de.csv Sample dive from XP5 2013-12-24 10:43:29 -08:00