I want to convert .dng file extension to .png/.jpg format. Here is my command line:
convert /var/www/html/img/10fassettsquare.dng /var/www/html/img/14.png
I am trying to convert but it shows an error : unable to open file 1.dng file. Other file conversion is working fine except .dng file.
Please help, I have been struggling for the last 10 days to solve this and I am unable to make it.
Best Answer
Interestingly enough the Repository imagemagick package in Ubuntu 16.04 claims to support Adobe Digital Negative Raw (DNG) Image files:
However conversion of these files with imagemagick fails with a welter of error messages. This is confirmed on my own Ubuntu 16.04 installation as well as yours.
If you install the Unidentified Flying Raw (UFRaw) package though all will then be well:
This tested perfectly on my system, with my own sample file, and should also on yours (note especially the call to ufraw-batch in the Terminal output):