Crop in default processing profiles

So that was hard to get the correct numbers for camconst raw_crop, I’m a bit lost between “raw size”, “raw full size”, and the way how raw_crop works looks a bit strange, especially the Width and height I had to put.

But anyway, with this, I can achieve having the raw at 4018x2678 (jpeg OOC are 4000x2664) which is perfectly fine. Thanks!

$ cat .config/RawTherapee/camconst.json 
{"camera_constants": [
    { 
        "make_model": "FUJIFILM X20",
        // 3:2 crop
        "raw_crop": [ 0, 160, 4096, 2692 ]
    }
]}

For the record:

$ exiftool data/photos/2017/2017-05-06\ -\ Echarpe\ portage/20170506_120228_dscf3142.raf | grep Raw
Raw Image Full Size             : 4096x3012
Raw Exposure Bias               : -0.6
Raw Image Width                 : 4032
Raw Image Height                : 3012
Raw Image Full Width            : 4096
Raw Image Full Height           : 3012
1 Like