ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.98k stars 823 forks source link

Use PIL .resize() method to scale images to improve image quality #114

Closed neilbaldwin closed 3 years ago

neilbaldwin commented 3 years ago

I had noticed that the image quality was often quite poor, especially when creating Button elements containing text.

This PR pulls the images from Figma at 2X the actual size and then uses Pillow (PIL) .resize() method with the ANTIALIAS option which improves the output somewhat.

ParthJadhav commented 3 years ago

Hey, Thanks for the changes !

ParthJadhav commented 3 years ago

I'll do some final testing and merge the PR.