Using PIL's ImageDraw Module
问题 I'm trying to do individual pixel manipulation using PIL's ImageDraw Module. The code bellow is supposed to create Tkinter canvas widget. Then open an image, change one pixel's color to red, then embed the image in the canvas widget. However, it doesn't seem to be working. My Code: import Tkinter from PIL import ImageTk, Image, ImageDraw class image_manip(Tkinter.Tk): def __init__(self): Tkinter.Tk.__init__(self) self.configure(bg='red') self.ImbImage = Tkinter.Canvas(self, highlightthickness