add test images

This commit is contained in:
cDc
2019-01-11 15:24:23 +02:00
parent 405b8a1693
commit cb40ffa537
34 changed files with 58 additions and 0 deletions

40
.gitignore vendored Normal file
View File

@@ -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/

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

BIN
Samples/1103806289718.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
Samples/20160108-162501.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
Samples/ARTstorXMP.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
Samples/Anafi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

BIN
Samples/Bebop_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

BIN
Samples/Bebop_2_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

BIN
Samples/GettyVilla0001.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

BIN
Samples/IPTCpanel.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
Samples/VRAexample012.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
Samples/bb-android.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
Samples/calib.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

BIN
Samples/crosa.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

BIN
Samples/down-mirrored.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

BIN
Samples/evil1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
Samples/example005.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

BIN
Samples/lens_info.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 B

BIN
Samples/lukas12p.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
Samples/ok.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
Samples/problem.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 KiB

BIN
Samples/right.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
Samples/sensefly.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

BIN
Samples/short-ascii-II.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 KiB

BIN
Samples/short-ascii-MM.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
Samples/sony-alpha-6000.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 KiB

BIN
Samples/test1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
Samples/test2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
Samples/test3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

18
TestSamples.py Normal file
View File

@@ -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)