rendered paste bodyimport os, sys
for root, dirs, files in os.walk(".") :
for name in files :
if name.lower()[-4:] != ".png" :
continue
if name == ".temp.png" :
os.system("del .temp.png")
continue
filename = root + "\\" + name
print "Processing", filename
os.system("copy /b \"%s\" .temp.png > nul" % filename)
os.system("pngcrush -q -force -rem gAMA -rem cHRM -rem iCCP -rem sRGB -rem tEXt -rem zTXt -ztxt b \"Author\" \"Tone Marie Berg\" .temp.png \"%s\" > nul" % filename)
os.system("del .temp.png")
for i in xrange(6) :
os.system("pngout /q /y /f%d /kzTXt \"%s\"" % (i, filename))