How to get LCP and DCP profiles

From RawPedia
Jump to navigation Jump to search
How to Get LCP and DCP profiles

A large collection of LCP (Adobe Lens Correction Profiles - for correcting lens distortion, vignetting and chromatic aberration) and DCP (DNG Color Profiles - camera input color profiles) come bundled with Adobe DNG Converter.

This section explains how to install Adobe DNG Converter and where to find the DCP and LCP profiles.


Linux

When you run Wine it will create a basic Windows system by default in $HOME/.wine. That is called a "Wine prefix". While it's fine to leave it like that, you can run each Windows program in its own Wine prefix, so that you can easily and cleanly remove all traces of one program without affecting the others. For example you might keep Adobe DNG Converter in its own Wine prefix in $HOME/wine-dng and decide to try out some proprietary Windows HDR program. You might find out that you don't like this program, or that the trial period has expired, or that it simply doesn't work. Uninstalling it, if the uninstaller even works, is known to leave things behind. If, on the other hand, you installed this program to its own Wine prefix, say $HOME/wine-hdr, you could simply delete that folder and that program would be gone without a trace, without affecting Adobe DNG Converter.

Creating a new Wine prefix is very simple. All you have to do is to prepend WINEPREFIX="$HOME/some-folder" before the wine command. If that folder does not exist, Wine will create it for you. It is a good idea to double-quote the path. For instance, WINEPREFIX="$HOME/wine-hdr" wine

We will be using $HOME/wine-dng as the Wine prefix.

  1. Install Wine, preferably using your package manager. At the time of writing, wine-8.21 is confirmed to work well with Adobe DNG Converter 16.0.1.
  2. Download Adobe DNG Converter for Windows. Try the newest version first. If that doesn't work, try an older version. You can download the newest version from Adobe, or you can download older versions from FileHorse.
  3. Set Wine to Windows 10 mode:
    WINEPREFIX="$HOME/wine-dng" winecfg
    Wine might ask you to install Mono. At the time of writing, it was not needed to run Adobe DNG Converter, so installing it is not required but not needed either.
    In the "Applications" tab set "Windows Version" to "Windows 10". Hit "Ok" to close Wine configuration.
  4. Install Adobe DNG Converter:
    WINEPREFIX="$HOME/wine-dng" wine ~/Downloads/AdobeDNGConverter_x64_16_0_1.exe
    It will install to $HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe
  5. This step is optional. There is an issue affecting all versions of Wine older than 5.0-rc5 when using Adobe DNG Converter version 11.2 or newer. The issue results in Wine crashing on startup. The issue was fixed in Wine 5.0-rc5, see Wine bug #46972. If you use any version of Wine lower than 5.0-rc5, you can easily circumvent the issue.
    Run Wine configuration:
    WINEPREFIX="$HOME/wine-dng" winecfg
    Go to the "Libraries" tab, add a new override for api-ms-win-core-winrt-error-l1-1-0, then edit it and select "Disable". Done.
  6. Run Adobe DNG Converter:
    WINEPREFIX="$HOME/wine-dng" wine "$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe"
  7. Add an alias so that you can run Adobe DNG Converter from a console with ease:
    echo "alias dng='WINEPREFIX=\"\$HOME/wine-dng\" wine \"\$HOME/wine-dng/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe\"'" >> ~/.bashrc && exec bash
  8. To run Adobe DNG Converter, just type dng in a console.


  • Find LCP profiles for your camera under:
"$HOME/wine-dng/drive_c/ProgramData/Adobe/CameraRaw/LensProfiles/1.0/"
  • Find standard DCP profiles under:
"$HOME/wine-dng/drive_c/ProgramData/Adobe/CameraRaw/CameraProfiles/Adobe Standard"
  • Find camera 'style' DCP profiles (portrait, landscape, vivid, etc) under:
"$HOME/wine-dng/drive_c/ProgramData/Adobe/CameraRaw/CameraProfiles/Camera/"

Copy the relevant profiles to a different folder for easy access, for example to ~/profiles/

Windows

  1. Download Adobe DNG Converter for Windows.
  2. Install Adobe DNG Converter
  • Find LCP profiles for your camera under:
%ALLUSERSPROFILE%\Adobe\CameraRaw\LensProfiles\1.0"
  • Find standard DCP profiles under:
%ALLUSERSPROFILE%\Adobe\CameraRaw\CameraProfiles\Adobe Standard
  • Find camera 'style' DCP profiles (portrait, landscape, vivid, etc) under:
%ALLUSERSPROFILE%\Adobe\CameraRaw\CameraProfiles\Camera

Copy the relevant profiles to a different folder for easy access.

Community-Made

TooWaBoo made two LCPs by hand for de-fishing the Samyang 8mm lens, tailored to the APS-C sensor size used by Nikon, Pentax and Sony. Might need tweaking for Canon.

Set Distortion Correction = 0, Auto-fill = unchecked
Set Distortion Correction = -0.5, Auto-fill = unchecked