Fastest way to get pixel color in Python or C++?
问题 I'm trying to add a blur effect to a transparent Tkinter widget I'm making. I made the widget partially transparent with this line (snippet) self.attributes("-alpha", 0.85) In order to add the effect I desire I need to get the RGB values of each individual pixel in the widget. Seeing as the widget is only partially opaque I can not use the .cget method because it returns it's fill RGB value (the color before it's made partially transparent), not it's actual RGB value). I currently am using