X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=scripts%2Ftextureattr.pl;fp=scripts%2Ftextureattr.pl;h=391750dab83d1de52105c51c63190502898f2803;hp=a12c2fdbfdb5ca430c84719bb723c7446f68fb6f;hb=ecfc966a7b2d8e37c7f5e29227d5ba4d00e54ded;hpb=2b36c1e20e90f7a1e97740673adc697c40ce367e diff --git a/scripts/textureattr.pl b/scripts/textureattr.pl index a12c2fd..391750d 100755 --- a/scripts/textureattr.pl +++ b/scripts/textureattr.pl @@ -54,7 +54,7 @@ seek $tmpfile, 0, 0; $text = <$tmpfile>; # Use pngcrush to rewrite the image file with the new text. -system("pngcrush", "-fix", "-rem", "text", "-text", "b", +system("pngcrush", "-fix", "-oldtimestamp", "-rem", "text", "-text", "b", $key, $text, $infile, $tmpfile); if (0 == $? >> 8) { not $outfile and $outfile = $infile;