Adobe DNG Converter via Flatpak Bottles

:exclamation:Proprietary software warning :slightly_smiling_face:

Has anybody been able to successfully convert their raw files with Adobe DNG Converter run in the Flatpak version of Bottles?

This is what I’ve got:

flatpak run --command=bottles-cli com.usebottles.bottles run -b "Adobe DNG Converter" -e "/home/mikael/.var/app/com.usebottles.bottles/data/bottles/bottles/Adobe-DNG-Converter/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe" --args "-losslessJXL -jxl_effort 9 input.nef"

When being run, the output ends with:
*** Error: Failed to convert '2022-10-19-11-32-A71_7335.NEF' ***

I also have a problem when input.nef is not in the same dir as Adobe DNG Converter.exe. When I i put input.nef in /home/m/ and do:

flatpak run --command=bottles-cli com.usebottles.bottles run -b "Adobe DNG Converter" -e "/home/mikael/.var/app/com.usebottles.bottles/data/bottles/bottles/Adobe-DNG-Converter/drive_c/Program Files/Adobe/Adobe DNG Converter/Adobe DNG Converter.exe" --args "-losslessJXL -jxl_effort 9 /home/mikael/2022-10-19-11-32-A71_7335.NEF"

I get an output that ends with: Invalid source file: "/home/mikael/2022-10-19-11-32-A71_7335.NEF" instead of the first *** Error: Failed to convert '2022-10-19-11-32-A71_7335.NEF' *** error. So I suspect the file isn’t even found. Could it be an escaping problem?

This is what I do on macOS and it works very well:
/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter" -losslessJXL -jxl_effort 9 /Users/mikael/DSCF8034.RAF

One can use shell instead of run in Bottles, but I have not quite figured out the syntax or if it can help me. Perhaps someone has been through the same trouble?

Not with Bottles, but rather with pure Wine:

https://rawpedia.rawtherapee.com/How_to_convert_raw_formats_to_DNG#Installing_Adobe_DNG_Converter_in_Linux

(I don’t use it, but hopefully the instructions work.)

1 Like

Worked for me in wine, too.