Skip to content

Commit f4e989e

Browse files
victoryforceTurboGit
authored andcommitted
Hard-code the correct crop factor for Canon EOS 5D Mark IV
1 parent 2d920b3 commit f4e989e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/exif.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ using namespace std;
8787
// For these models we can't calculate the correct crop factor or, for some we could, but we
8888
// prefer to take it from here, rather than complicate the calculation code with exceptions
8989
static const struct dt_model_cropfactor dt_cropfactors[] = {
90+
{.model = "Canon EOS 5D Mark IV", // tags contain incorrect data, so formula gives us incorrect result
91+
.cropfactor = 1.0f
92+
},
9093
{.model = "FinePix SL1000", // exiv2 doesn't yet read the tags we need to calculate correctly
9194
.cropfactor = 5.6f
9295
},

0 commit comments

Comments
 (0)