I solved this with imagemagick as suggested by https://stackoverflow.com/a/22747902: just run mogrify to rewrite the offending image with imagemagick's default output settings. This doesn't appeart to have changed any of the images, which I verified using imagemagick's compare tool. The full script that produced this commit:
Fixes #3.
I solved this with imagemagick as suggested by https://stackoverflow.com/a/22747902: just run
mogrify
to rewrite the offending image with imagemagick's default output settings. This doesn't appeart to have changed any of the images, which I verified using imagemagick'scompare
tool. The full script that produced this commit: