Feature #9886

Sony RX100 RAW files lens correction

Added by majo dom over 6 years ago. Updated about 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
hardware architecture:


Opening Sony RX100 RAW files in darktable results in distorted images - the internal lens correction is not applied. Photoshop/Lightroom open these RAW files without any issues. The camera uses builtin lens correction algorithm and probably stores the values in RAW files themselves. JPG files look just fine. There is RAW file in the attachement and JPG file as well. I own the camera so I can provide any information/RAW examples needed.

DSC03007.ARW (19.8 MB) DSC03007.ARW Sony RX100 RAW example majo dom, 04/03/2014 02:50 PM
DSC03008.JPG (5.34 MB) DSC03008.JPG Sony RX100 JPG example majo dom, 04/03/2014 02:50 PM


#1 Updated by Torsten Bronger over 6 years ago

Unfortunately, Darktable cannot interpret the correction data in the RAW yet. This is certainly a nice addition, but it may make extensions in Lensfun necessary, too.

Anyway, Lensfun contains correction data for this camera in its upcoming version. You may download and replace the content of /usr/share/lensfun with the content of that bzip2 file. It does not correct TCA or vignetting, however. See for how to do that.

#2 Updated by majo dom over 6 years ago

Thank you very much for your reply. Is there anything I can do/help to make it possible to open RAW images directly with darktable?

BTW I downloaded the new Lensfun files, it works very well when applied on RAW images. Thanks again!

#3 Updated by Torsten Bronger over 6 years ago

You may add code that handles the data in the RAW file. But I consider this not easy. I even don't know whether Sony has published the specification for that freely.

#4 Updated by G L about 3 years ago

@ Majo Dom: Did you find a solution to correct the lens of the RX100?
Struggeling with the same issue. See

Also available in: Atom PDF

Go to top