Code: Select all
FOR %%a in (*.png) DO "C:\Program Files\ImageMagick-6.5.3-Q8\convert.exe" %%a -resize 300x400^ +dither -colors 64 -quality 90 %%~dpna_small.png
The problem is that Imagemagick adds EXtcreate-date and EXtmodify-date (creation and modify date of the source file) to the end of the resized png-file, consequently the MD5 hashes of otherwise identical smaller files don't match and the uploader treats all the updated resized files as new files.
Is there a way to avoid this, i.e. to tell Imagemagick not to include information about the source file create and modify date in the resized file?