diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9cc1b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +# Custom +*.tmp +*.exif.txt +*.exif.txt.txt +.DS_Store +CMakeSettings.json +.vs/ +.idea/ +.vscode/ +bin/ +binaries/ diff --git a/Samples/0007f2e26768eac8fe6b2f4d7c3c3dd0.jpg b/Samples/0007f2e26768eac8fe6b2f4d7c3c3dd0.jpg new file mode 100644 index 0000000..d27c995 Binary files /dev/null and b/Samples/0007f2e26768eac8fe6b2f4d7c3c3dd0.jpg differ diff --git a/Samples/003431ad6fd3b86a5493105ef3c8db49.jpg b/Samples/003431ad6fd3b86a5493105ef3c8db49.jpg new file mode 100644 index 0000000..c46b18c Binary files /dev/null and b/Samples/003431ad6fd3b86a5493105ef3c8db49.jpg differ diff --git a/Samples/0412a3a08dfa2071074063c41c4a024e.jpg b/Samples/0412a3a08dfa2071074063c41c4a024e.jpg new file mode 100644 index 0000000..ae6d905 Binary files /dev/null and b/Samples/0412a3a08dfa2071074063c41c4a024e.jpg differ diff --git a/Samples/0a7da7e9f53d687224da8185f225b931.jpg b/Samples/0a7da7e9f53d687224da8185f225b931.jpg new file mode 100644 index 0000000..2116182 Binary files /dev/null and b/Samples/0a7da7e9f53d687224da8185f225b931.jpg differ diff --git a/Samples/1103806289718.jpg b/Samples/1103806289718.jpg new file mode 100644 index 0000000..2778b05 Binary files /dev/null and b/Samples/1103806289718.jpg differ diff --git a/Samples/20160108-162501.jpg b/Samples/20160108-162501.jpg new file mode 100644 index 0000000..0e00d0d Binary files /dev/null and b/Samples/20160108-162501.jpg differ diff --git a/Samples/ARTstorXMP.jpg b/Samples/ARTstorXMP.jpg new file mode 100644 index 0000000..35e70e5 Binary files /dev/null and b/Samples/ARTstorXMP.jpg differ diff --git a/Samples/Anafi.jpg b/Samples/Anafi.jpg new file mode 100644 index 0000000..039498b Binary files /dev/null and b/Samples/Anafi.jpg differ diff --git a/Samples/Bebop_2.jpg b/Samples/Bebop_2.jpg new file mode 100644 index 0000000..25b06a4 Binary files /dev/null and b/Samples/Bebop_2.jpg differ diff --git a/Samples/Bebop_2_1.jpg b/Samples/Bebop_2_1.jpg new file mode 100644 index 0000000..eee8b64 Binary files /dev/null and b/Samples/Bebop_2_1.jpg differ diff --git a/Samples/GettyVilla0001.jpg b/Samples/GettyVilla0001.jpg new file mode 100644 index 0000000..4a06744 Binary files /dev/null and b/Samples/GettyVilla0001.jpg differ diff --git a/Samples/IPTCpanel.jpg b/Samples/IPTCpanel.jpg new file mode 100644 index 0000000..a8b28bb Binary files /dev/null and b/Samples/IPTCpanel.jpg differ diff --git a/Samples/VRAexample012.jpg b/Samples/VRAexample012.jpg new file mode 100644 index 0000000..2e6ed2e Binary files /dev/null and b/Samples/VRAexample012.jpg differ diff --git a/Samples/bb-android.jpg b/Samples/bb-android.jpg new file mode 100644 index 0000000..890cc12 Binary files /dev/null and b/Samples/bb-android.jpg differ diff --git a/Samples/calib.jpg b/Samples/calib.jpg new file mode 100644 index 0000000..dd2a69c Binary files /dev/null and b/Samples/calib.jpg differ diff --git a/Samples/crosa.jpg b/Samples/crosa.jpg new file mode 100644 index 0000000..4e56d1f Binary files /dev/null and b/Samples/crosa.jpg differ diff --git a/Samples/down-mirrored.jpg b/Samples/down-mirrored.jpg new file mode 100644 index 0000000..34a7b1d Binary files /dev/null and b/Samples/down-mirrored.jpg differ diff --git a/Samples/ec5a9432aee2247124451de9ac3d0807.jpg b/Samples/ec5a9432aee2247124451de9ac3d0807.jpg new file mode 100644 index 0000000..a968a96 Binary files /dev/null and b/Samples/ec5a9432aee2247124451de9ac3d0807.jpg differ diff --git a/Samples/evil1.jpg b/Samples/evil1.jpg new file mode 100644 index 0000000..addb2d7 Binary files /dev/null and b/Samples/evil1.jpg differ diff --git a/Samples/example005.jpg b/Samples/example005.jpg new file mode 100644 index 0000000..6a2757c Binary files /dev/null and b/Samples/example005.jpg differ diff --git a/Samples/lens_info.jpg b/Samples/lens_info.jpg new file mode 100644 index 0000000..a3cfaea Binary files /dev/null and b/Samples/lens_info.jpg differ diff --git a/Samples/lukas12p.jpg b/Samples/lukas12p.jpg new file mode 100644 index 0000000..f5663db Binary files /dev/null and b/Samples/lukas12p.jpg differ diff --git a/Samples/ok.jpg b/Samples/ok.jpg new file mode 100644 index 0000000..9fa58ff Binary files /dev/null and b/Samples/ok.jpg differ diff --git a/Samples/problem.jpg b/Samples/problem.jpg new file mode 100644 index 0000000..9ac0523 Binary files /dev/null and b/Samples/problem.jpg differ diff --git a/Samples/right.jpg b/Samples/right.jpg new file mode 100644 index 0000000..183ffeb Binary files /dev/null and b/Samples/right.jpg differ diff --git a/Samples/sensefly.jpg b/Samples/sensefly.jpg new file mode 100644 index 0000000..9fee440 Binary files /dev/null and b/Samples/sensefly.jpg differ diff --git a/Samples/short-ascii-II.jpg b/Samples/short-ascii-II.jpg new file mode 100644 index 0000000..a40ba62 Binary files /dev/null and b/Samples/short-ascii-II.jpg differ diff --git a/Samples/short-ascii-MM.jpg b/Samples/short-ascii-MM.jpg new file mode 100644 index 0000000..3ca5d78 Binary files /dev/null and b/Samples/short-ascii-MM.jpg differ diff --git a/Samples/sony-alpha-6000.jpg b/Samples/sony-alpha-6000.jpg new file mode 100644 index 0000000..273126c Binary files /dev/null and b/Samples/sony-alpha-6000.jpg differ diff --git a/Samples/test1.jpg b/Samples/test1.jpg new file mode 100644 index 0000000..d960f82 Binary files /dev/null and b/Samples/test1.jpg differ diff --git a/Samples/test2.jpg b/Samples/test2.jpg new file mode 100644 index 0000000..a87afdd Binary files /dev/null and b/Samples/test2.jpg differ diff --git a/Samples/test3.jpg b/Samples/test3.jpg new file mode 100644 index 0000000..faa7981 Binary files /dev/null and b/Samples/test3.jpg differ diff --git a/TestSamples.py b/TestSamples.py new file mode 100644 index 0000000..16bdcbb --- /dev/null +++ b/TestSamples.py @@ -0,0 +1,18 @@ +import os +import sys +import subprocess + +source = os.path.join(os.path.dirname(sys.argv[0]), 'Samples') +TinyEXIF = os.path.join(source, 'TinyEXIF') +exiftool = 'exiftool' +ext = 'exif.txt' +if len(sys.argv) > 1: + ext = sys.argv[1] +for root, dirs, filenames in os.walk(source): + for f in filenames: + if f[-4:].lower() == '.jpg': + fullpath = os.path.join(source, f) + imgexif = fullpath[:-3] + ext + print('parse ' + fullpath + ' to ' + imgexif) + subprocess.Popen(TinyEXIF + ' ' + fullpath + ' > ' + imgexif, shell=True) + subprocess.Popen(exiftool + ' -n -s -G ' + fullpath + ' > ' + imgexif + '.txt', shell=True)