imagemagickimagemagick-convertdatemodifieddng

imagemagick convert dng - changes date modified


Edit 26/04/2016 : This is a bug that has been fixed in ImageMagick-6.9.3-5 and 7.0.0-0

.

Converting DNG files, when I run

convert "my_img.dng" "my_img_converted.jpg"

Imagemagick changes the date modified of the original my_img.dng to the time when conversion happened.

.

Do you know how to avoid that and keep the original file intact?


Solution

  • I would say that is a bug! A workaround is as follows:

    convert dng:- result.jpg < original.dng
    

    Or, equivalently if you prefer reading left-to-right and don't mind superfluous processes:

    cat original.dng | convert dng:- result.jpg