add serial-number field

This commit is contained in:
cDc
2017-09-12 12:25:49 +03:00
parent ad38b458bf
commit c3c524a782
3 changed files with 9 additions and 0 deletions

View File

@@ -509,6 +509,11 @@ void EXIFInfo::parseIFDExif(EntryParser& parser) {
}
break;
case 0xa431:
// Serial number of the camera
parser.Fetch(SerialNumber);
break;
case 0xa432:
// Focal length and FStop.
if (parser.Fetch(LensInfo.FocalLengthMin, 0))
@@ -932,6 +937,7 @@ void EXIFInfo::clear() {
ImageDescription = "";
Make = "";
Model = "";
SerialNumber = "";
Software = "";
DateTime = "";
DateTimeOriginal = "";