New answers tagged

1

Is there any reason not to use git? It is really good at merging changes like these automatically, and is exactly what it's made for. This isn't directly an answer to the question, but an alternative solution. Using git instead of diff, it would look something like this: # copy your original code to a new folder cp -r 1.2.0 mysoftware_git cd ...


5

It should be possible to strip the timestamps, using -define png:exclude-chunks=date,time; but there's apparently a bug in the PNG encoder. If you can stage your modifications, one possibility would be to use identify's signature to only replace an existing image if the pixel contents of the image change: mkdir out convert -size 1x1 xc:white out/w.png if [ ...


1

You can use the -strip option: $ convert -strip -size 1x1 xc:white out1/w.png $ convert -strip -size 1x1 xc:white out2/w.png $ md5sum out1/w.png out2/w.png <...same data...> *out1/w.png <...same data...> *out2/w.png EDIT: It may have some bug in png-encoder, so if this method does not work, try one of these: The +set option removes a ...



Top 50 recent answers are included