I create two images that should be identical, but their binaries are different:$ convert -size 1x1 xc:white out1/w.png$ sleep 1$ convert -size 1x1 xc:white out2/w.png$ diff out1/w.png out2/w.png Binary files out1/w.png and out2/w.png differProbably because of a timestamp in embedded metadata.QUESTION: How to make ImageMagick create a binary that will always be the same?ContextI have a big ImageMagick script that creates many images that are then saved to Git (because most developers don't have the environment necessary to run the script).I often edit the script (ex:define a new image) and then run it to regenerate all images. But I don't want to have Git differences for images that have not changed.Apparently some compression algorithms produce slightly different results on different architectures. Not a big problem since I always generate on the same machine. But even on the same machine, the files always all differ.ImageMagick 6.8.9-9 Q16 x86_64 2015-08-06, on Ubuntu 2015.10
Create the same PNG with ImageMagick 2 times: Binaries differ
binary;imagemagick;version control;png