add test images
40
.gitignore
vendored
Normal 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/
|
||||
BIN
Samples/0007f2e26768eac8fe6b2f4d7c3c3dd0.jpg
Normal file
|
After Width: | Height: | Size: 693 KiB |
BIN
Samples/003431ad6fd3b86a5493105ef3c8db49.jpg
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
Samples/0412a3a08dfa2071074063c41c4a024e.jpg
Normal file
|
After Width: | Height: | Size: 404 KiB |
BIN
Samples/0a7da7e9f53d687224da8185f225b931.jpg
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
Samples/1103806289718.jpg
Normal file
|
After Width: | Height: | Size: 245 KiB |
BIN
Samples/20160108-162501.jpg
Normal file
|
After Width: | Height: | Size: 116 KiB |
BIN
Samples/ARTstorXMP.jpg
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
Samples/Anafi.jpg
Normal file
|
After Width: | Height: | Size: 707 KiB |
BIN
Samples/Bebop_2.jpg
Normal file
|
After Width: | Height: | Size: 220 KiB |
BIN
Samples/Bebop_2_1.jpg
Normal file
|
After Width: | Height: | Size: 204 KiB |
BIN
Samples/GettyVilla0001.jpg
Normal file
|
After Width: | Height: | Size: 404 KiB |
BIN
Samples/IPTCpanel.jpg
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
Samples/VRAexample012.jpg
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
Samples/bb-android.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Samples/calib.jpg
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
Samples/crosa.jpg
Normal file
|
After Width: | Height: | Size: 230 KiB |
BIN
Samples/down-mirrored.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Samples/ec5a9432aee2247124451de9ac3d0807.jpg
Normal file
|
After Width: | Height: | Size: 355 KiB |
BIN
Samples/evil1.jpg
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
Samples/example005.jpg
Normal file
|
After Width: | Height: | Size: 154 KiB |
BIN
Samples/lens_info.jpg
Normal file
|
After Width: | Height: | Size: 897 B |
BIN
Samples/lukas12p.jpg
Normal file
|
After Width: | Height: | Size: 157 KiB |
BIN
Samples/ok.jpg
Normal file
|
After Width: | Height: | Size: 123 KiB |
BIN
Samples/problem.jpg
Normal file
|
After Width: | Height: | Size: 967 KiB |
BIN
Samples/right.jpg
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
Samples/sensefly.jpg
Normal file
|
After Width: | Height: | Size: 298 KiB |
BIN
Samples/short-ascii-II.jpg
Normal file
|
After Width: | Height: | Size: 872 KiB |
BIN
Samples/short-ascii-MM.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
Samples/sony-alpha-6000.jpg
Normal file
|
After Width: | Height: | Size: 457 KiB |
BIN
Samples/test1.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Samples/test2.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
Samples/test3.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
18
TestSamples.py
Normal 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)
|
||||