From ca3d4a06b629dc7aa62f8ca1e9de1dac3e935301 Mon Sep 17 00:00:00 2001 From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com> Date: Sun, 14 Apr 2024 18:00:34 -0700 Subject: [PATCH] Fix Panasonic DMC-FX150 16:9 raw crop The dcraw default leaves a couple of unwanted pixels on the right and bottom edges. Other aspect ratios are fine. --- rtengine/camconst.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rtengine/camconst.json b/rtengine/camconst.json index 06c23afae..3f78739a5 100644 --- a/rtengine/camconst.json +++ b/rtengine/camconst.json @@ -2323,6 +2323,13 @@ Camera constants: "ranges": { "black": 15, "white": 4050 } // 15 is BL offset. dcraw/RT read the base offset from Exif and calculates total BL = BLbase+BLoffset }, + { // Quality C + "make_model": "Panasonic DMC-FX150", + "raw_crop": [ + { "frame": [ 4508, 2498 ], "crop": [ 0, 0, 4429, 2496] } // 16:9 ratio needs to shave a few extra pixels from dcraw's crop. + ] + }, + { // Quality A, replicated from rawimage.cc "make_model": "Panasonic DMC-FZ150", "dcraw_matrix": [ 10435,-3208,-72,-2293,10506,2067,-486,1725,4682 ], // RT, copy from custom dcp d55