title: How do you customize Tkinter buttons
body: <p>there is a simple code to use an image as button, but this doesn't really do what I want...</p>
  
  <p>CODE:</p>
  
  <pre><code>from Tkinter import *
  window = Tk()
  
  btn = Button(window)
  pic = PhotoImage(file="submit.png")
  
  btn.config(image = pic)
  btn.pack()
  
  window.configure(background = "#29746f")
  window.geometry("{}x{}".format(150,100))
  
  mainloop()
  </code></pre>
  
  <p>have a look on these screenshots please:</p>
  
  <p>EXEPTATION:
   <a href="https://i.stack.imgur.com/joYIc.png" rel="nofollow noreferrer">what I want</a></p>
  
  <p>REALITY: 
  <a href="https://i.stack.imgur.com/BUJaD.png" rel="nofollow noreferrer">what happens</a></p>
  
  <p>So, how to make my image transparent and how to remove the rectangle border from my button ? 
  Thanks.</p>