Search code examples
pythontkintertransparencyblur

Tkinter : Create blur transparency


I am wondering how to create a blur transparency effect in tkinter. I already know how to add the transparency effect to the window by using

root=Tk()
root.attributes("-alpha",0.95)

But how can you add the blur part?


Solution

  • This service is not provided by tkinter. However you can take a screenshot of your app and blur it yourself (see for instance ImageFilter.GaussianBlur or numpy.gaussian filter).