from PIL import Image # Open the image image = Image.open('decal_shockwave.png') # Get the image size width, height = image.size # Modify each pixel's RGBA value for x in range(width): for y in range(height): r, g, b, a = image.getpixel((x, y)) # Modify the RGBA values here # For example, invert the colors image.putpixel((x, y), (255,255,255,r)) # Save the modified image image.save('decal_shockwave.png')