I’m using ImageMagick’s convert to resize some .png files, the problem is that convert seems to be writing some extra info to the .png:
EXtdate:create 2012-11-26T19:50:31-08:001
The problem is that if the source image didn’t change, a new scaled down image is produced that is identical to the old one, but it has this extra time/date info and it’s causing git to think all the files have changed.
Is there a way to keep convert from writing out this addition meta info so subsequent resizing won’t show the files as changed is the source image didn’t change?
I found the solution to this problem was adding:
The -strip option was not removing the embedded data, but this does.