Auto Distortion Correction using Console


(Peter Cherry) #1

I am using RT console to create JPG from RAW.
rawtherapee-cli -o “output.jpg” -w -p “profile.pp3” -Y -c “input.raw”

How can I enable AUTOMATIC LENS CORRECTION in PP3? I think it is not possible in console mode using *.pp3 file.
I would use LCP profile for my Panasonic Lumix DMC-LX100 (Leica D-Lux Typ 109) but it doesn’t exist…just for Lensfun.

Thanks for help

(Morgan Hardwood) #2


Automatic Distortion Correction can’t be enabled from the command-line nor in batch mode -

Make your own -

(Joseph M Reagle Jr) #3

My LX100 lcp isn’t perfect, but you can check it out

I actually prefer the Automatic Distortion Correction results, but there’s not yet a way to save that in a profile () or do it in batch from what I can tell.

(Peter Cherry) #4

@reagle: In fact I have been using your LCP profile:) I think it is the only existing LCP profile for LX100 / D-Lux Typ 109. But you are right that Automatic Distortion Correction works better in RT.

  1. Is it so big problem to enable Automatic Distortion Correction also for profile to use it in console mode?
  2. Why there are no factory LCP profiles?

(Joseph M Reagle Jr) #5
  1. It shouldn’t be, but hasn’t been done yet.
  2. I’ve looked for them in the Adobe downloader but never found any. My guess: m43 cameras typically embed lens parameters in image metadata and commercial programs use this to correct the image rather than LCPs.