If this is a new feature that is needed for something smart, is there a way to disable this behaviour at runtime? If not, there should be one IMO.
Heres a script to test if your version is affected, should work out of the box(assuming you have coreutils and IM installed):
Code: Select all
#!/bin/bash
# test jpg image
convert logo: logo.jpg
# convert into png, this is the process that the real application needs
convert logo.jpg logo.png
sum1="$(sha1sum logo.png)" # checksum to demo the results
sleep 1s # wait for time to pass so the timestamp is different
touch logo.jpg # renew timestamp of original
# convert again, expecting identical results
convert logo.jpg logo.png
sum2="$(sha1sum logo.png)"
[ "$sum1" != "$sum2" ] && echo "Conversion results not identical, timestamp was written to file!"
rm logo.jpg logo.png
My results with it so far:
6.3.5.10(older stable for Gentoo) - works as expected, checksums match
6.4.0.6(latest stable for Gentoo) - fails, checksums differ
6.4.3.5(latest unstable for Gentoo) - fails, checksums differ