Make the pixel at coordinates (x, y) fully transparent if boolean is true, fully opaque otherwise.
tkinter/PhotoImage.transparency_set
PhotoImage.transparency_set