Page 1 of 1

convert in.dng out.png resets timestamp of in.dng

Posted: 2016-02-12T14:22:17-07:00
by glennrp
Relaying a bug report found on StackOverflow:

Code: Select all

magick in.dng out.png
updates the timestamp of "in.dng".

But

Code: Select all

ufraw-batch --silent --create-id=also --out-type=png --out-depth=16 --output=out.png in.dng
which I believe is the "delegate" command used by ImageMagick, does not.

Even worse, if I first make the in.dng unwriteable

Code: Select all

 chmod 400 in.dng
 magick in.dng out.png 
then convert (a.k.a magick) successfully creates out.png but removes in.dng, without any error or warning message.

This test with ImageMagick-7.0.0-0 Q16 x86_64 2016-02-12 and ufraw-batch version 0.22.
Reference: http://stackoverflow.com/questions/3533 ... e-modified

Re: convert in.dng out.png resets timestamp of in.dng

Posted: 2016-02-13T06:34:51-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.