title: How to add RGB png picture?
body: <p>My PIL is not able to load my png. I only get a big white screen so the code is working but i am not able to get the actual picture on the GUI. </p>
  
  <p>I have tried various of ways and every time i load a black and white picture it's fine but if it has color then it won't load.</p>
  
  <pre><code>import PIL.Image
  import PIL.Image
  
      TkbannerImg = PIL.Image.open("icon.png")
      bannerPhoto = PIL.ImageTk.PhotoImage(bannerImg)
  
      label = Label(self.master, image=bannerPhoto)
      label.image = bannerPhoto # reference
      label.pack(side=tk.LEFT)
      label.place(x=self.globalX / 5.45, y=self.globalY / 3.56)
  </code></pre>
  
  <p>Final result looks like this (pay attention to the input field how most of it is blocked by whitespace, that is meant to be the picture): <a href="https://imgur.com/a/uOt0817" rel="nofollow noreferrer">https://imgur.com/a/uOt0817</a></p>