Partial decoding or wrong dimensions of X-T30 files, fixes #5709, code taken from ART
This commit is contained in:
parent
9cc744b1f6
commit
996ba0a9a3
@ -10048,6 +10048,9 @@ canon_a5:
|
||||
} else if (!strncmp(model, "X-A3", 4) || !strncmp(model, "X-A5", 4)) {
|
||||
width = raw_width = 6016;
|
||||
height = raw_height = 4014;
|
||||
} else if (!strcmp(model, "X-Pro3") || !strcmp(model, "X-T3") || !strcmp(model, "X-T30")) {
|
||||
width = raw_width = 6384;
|
||||
height = raw_height = 4182;
|
||||
}
|
||||
top_margin = (raw_height - height) >> 2 << 1;
|
||||
left_margin = (raw_width - width ) >> 2 << 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user