When manipulating PhotoImage objects with:
import tkinter as tk
img = tk.PhotoImage(file="myFile.gif")
for x in range(0,1000):
for y in range(0,1000):
img.put("{red}", (x, y))
The put operation takes a very long time. Is there a faster method of doing this?
Use a bounding box: