Add initial support for OM TG-7

Read CFA pattern for OM Digital Solutions cameras.
Use Olympus TG-6 camconst for the TG-7, since the dcraw matrix and raw
crop are the same.
This commit is contained in:
Lawrence Lee 2024-03-21 21:45:35 -07:00
parent 7751019b6e
commit c5967cb4e4
No known key found for this signature in database
GPG Key ID: 048FF2B76A63895F
2 changed files with 2 additions and 2 deletions

View File

@ -2206,7 +2206,7 @@ Camera constants:
},
{ // Quality B
"make_model": "OLYMPUS TG-6",
"make_model": [ "OLYMPUS TG-6", "OM Digital Solutions TG-7" ],
"dcraw_matrix" : [10899, -3833, -1082, -2112, 10736, 1575, -267, 1452, 5269], // DNG v13.2
"raw_crop": [ 0, 0, -24, 0 ] // 24 pixels at right are garbage
},

View File

@ -10434,7 +10434,7 @@ konica_400z:
filters = 0x16161616;
load_raw = &CLASS packed_load_raw;
load_flags = 30;
} else if (!strcmp(make,"Olympus")) {
} else if (!strcmp(make,"Olympus") || !strncmp(make, "OM Digi", 7)) {
height += height & 1;
if (exif_cfa) filters = exif_cfa;
if (width == 4100) width -= 4;