Further thought from http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html#FileInfo
4 CanonFlashMode int16s 0 = Off 1 = Auto 2 = On 3 = Red-eye reduction 4 = Slow-sync 5 = Red-eye reduction (Auto) 6 = Red-eye reduction (On) 16 = External flash
The 0th element of flashmodes should be "Off"
static char *flashmodes[] = { "Off", "Auto", "On", "Red-Eye Reduction", "Slow Synchro", "Auto + Red-Eye Reduction", "On + Red-Eye Reduction"
line 435 should be: if (v[4] <= 6)
Further thought from http:// www.sno. phy.queensu. ca/~phil/ exiftool/ TagNames/ Canon.html# FileInfo
4 CanonFlashMode int16s
0 = Off
1 = Auto
2 = On
3 = Red-eye reduction
4 = Slow-sync
5 = Red-eye reduction (Auto)
6 = Red-eye reduction (On)
16 = External flash
The 0th element of flashmodes should be "Off"
static char *flashmodes[] = {
"Off", "Auto", "On", "Red-Eye Reduction", "Slow Synchro",
"Auto + Red-Eye Reduction", "On + Red-Eye Reduction"
line 435 should be: if (v[4] <= 6)