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

@@ -39,6 +39,8 @@ int main(int argc, const char** argv)
std::cout << "Description " << imageEXIF.ImageDescription << "\n";
if (!imageEXIF.Make.empty() || !imageEXIF.Model.empty())
std::cout << "CameraModel " << imageEXIF.Make << " - " << imageEXIF.Model << "\n";
if (!imageEXIF.SerialNumber.empty())
std::cout << "SerialNumber " << imageEXIF.SerialNumber << "\n";
std::cout << "Orientation " << imageEXIF.Orientation << "\n";
std::cout << "Resolution " << imageEXIF.XResolution << "x" << imageEXIF.YResolution << "\n";
std::cout << "ResolutionUnit " << imageEXIF.ResolutionUnit << "\n";