add test images
@@ -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/
|
||||
|
After Width: | Height: | Size: 693 KiB |
|
After Width: | Height: | Size: 194 KiB |
|
After Width: | Height: | Size: 404 KiB |
|
After Width: | Height: | Size: 289 KiB |
|
After Width: | Height: | Size: 245 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 137 KiB |
|
After Width: | Height: | Size: 707 KiB |
|
After Width: | Height: | Size: 220 KiB |
|
After Width: | Height: | Size: 204 KiB |
|
After Width: | Height: | Size: 404 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 259 KiB |
|
After Width: | Height: | Size: 230 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 355 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 897 B |
|
After Width: | Height: | Size: 157 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 967 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 298 KiB |
|
After Width: | Height: | Size: 872 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 457 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 26 KiB |
@@ -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)
|
||||