Panasonic DC-G9 high-res RAW: insufficient crop
When opening a High Resolution RAW (the large variant with ~125 MB file size) with darktable 2.6.0, artifacts can be seen on the right border of the picture (panorama) or on the top border (portrait).
This issue was approved by @LebedevRI. More details are to follow if needed.
Workaround: use the crop editing feature of the "raw black/white point" module:
- Edit "~/.config/darktable/darktablerc"
- Find the line "plugins/darkroom/rawprepare/allow_editing_crop=false"
- Change "false" to "true"
- Open darktable and go to the "RAW black/white point" module
- There should be a slider "crop width"; increase this value until the artifacts are gone
- If you don't see this slider, then you might first delete "~/.config/darktable/" (create a backup first, as this fries your settings!)
Yep, both the single 20MP shot out of the hi-res sequence, and the hi-res output as well seem to need extra 16px cropped.
The single shot has width of 5280 instead of the 5264 found in the normal mode.
More bizarrely, there is also this burst mode (sample also in RPU), where the width stayed the same as normal, but the height went up by 8 pixels (look like both top and bottom)!
Would it help if I provided raws in various different modes?
Would it help if I provided raws in various different modes?
They're all on RPU already AFAICT.
Is this related to High-Res mode? My LX7, which has no such feature, is affected by a similar issue. @kmilos is aware of the bug report I've opened for darktable, but maybe it's worth linking here: https://github.com/darktable-org/darktable/issues/14082
This appears to be affecting the Panasonic S5 high-res raw files as well, but not the normal raw files. It was working fine, but I haven't kept up since my PR was merged for v7 Panasonic raw format a couple months ago. Now I'm getting pink garbage on the right side of hi-res as well. I haven't had time to investigate more, but it looks similar to https://github.com/darktable-org/darktable/issues/14082.
@kofa73 @jdneumeyer77 Yes, it's all the same thing. I'm working on a fix for the G9 static cases such as hi-res or burst modes, but that won't help with all the issues.
I've analyzed a collection of my G9 photos from May, and there's apparently no point in trying to fix it by adding more modes. https://discuss.pixls.us/t/panasonic-g9-rawspeed-and-cropping/38236/5?u=newerth
The entire approach will need to change.