Add script to fix incorrect sRGB profile error.

This commit is contained in:
Jakub Klupieć 2021-04-18 19:21:13 +02:00
parent f49ef8559d
commit 792a940388

View File

@ -0,0 +1,11 @@
import os
import pygame as pg
for i in os.listdir('.'):
try:
img = pg.image.load(i)
pg.image.save(img, i)
except:
print("Failed to fix image " + i)
print('Success. All images were fixed!')