From 376d680b16da38436d70e206d19593446f43a111 Mon Sep 17 00:00:00 2001 From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com> Date: Sun, 4 Jun 2023 16:32:41 -0700 Subject: [PATCH] Add basic camconst entry for Canon EOS R8 The camera seems to have the same characteristics as the Canon EOS R6m2. The raw crops for the R6m2 are derived from standard and CRAW images for full-frame and 1.6 crop. The raw crops for the R8 are from standard and CRAW images for full-frame only, but for both standard and Dual Pixel. The Dual Pixel R8 images require 10 pixels cropped from the right side instead of 6. Thus, the full-frame crop needs adjustment. --- rtengine/camconst.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/camconst.json b/rtengine/camconst.json index 352dc26e1..c4bf9b14a 100644 --- a/rtengine/camconst.json +++ b/rtengine/camconst.json @@ -1259,10 +1259,10 @@ Camera constants: }, { // Quality C - "make_model": "Canon EOS R6m2", + "make_model": ["Canon EOS R6m2", "Canon EOS R8"], "dcraw_matrix": [9539, -2795, -1224, -4175, 11998, 2458, -465, 1755, 6048], "raw_crop": [ - {"frame": [6188, 4120], "crop": [154, 96, 6028, 4024]}, + {"frame": [6188, 4120], "crop": [154, 96, 6024, 4024]}, {"frame": [3936, 2612], "crop": [156, 96, 3780, 2516]} ], "masked_areas": [