Added
Link Here
|
0 |
- |
1 |
--- database/exifFunctions.cpp.orig 2021-03-05 05:27:44 UTC |
|
|
2 |
+++ database/exifFunctions.cpp |
3 |
@@ -123,7 +123,7 @@ int exifDefaultRotation(const std::string fullFilename |
4 |
int exifOrientation; |
5 |
try |
6 |
{ |
7 |
- exifOrientation = (int) exifData["Exif.Image.Orientation"].value().toLong(); |
8 |
+ exifOrientation = (int) exifData["Exif.Image.Orientation"].value().toInt64(); |
9 |
} |
10 |
catch (...) |
11 |
{ |
12 |
@@ -295,7 +295,7 @@ int exifRating(const std::string fullFilename) |
13 |
std::string maker = exifData["Exif.Image.Make"].toString(); |
14 |
if (maker.compare("Canon") == 0) |
15 |
{ |
16 |
- return min(5,max(0,(int) xmpData["Xmp.xmp.Rating"].toLong())); |
17 |
+ return min(5,max(0,(int) xmpData["Xmp.xmp.Rating"].toInt64())); |
18 |
} |
19 |
return 0; |
20 |
} |