Tkinter Button Image Quality Bad

349 Views Asked by At

I'm making a tkinter app and the image I've assigned to the button appears low quality, even though the image is actually crisp and isn't in as bad quality. Is there any way to fix this? The red and blue buttons are in bad quality

enter image description here

1

There are 1 best solutions below

4
Thingamabobs On

The image is kind of blurry and this can happen through resizing the image. By resizing you alter the information of the image and some information get lost by resizing it.

You could try another image that actually has the size you wish, better create an image via PIL with the desired properties. Or why bother and use just a monospaced font that fits and use the background and the foreground option to get the disred output.