We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4741824 commit 9c9906eCopy full SHA for 9c9906e
src/tkui/tool.py
@@ -3870,7 +3870,7 @@ def load(self):
3870
with myfile.open('icon') as myfi:
3871
self.icon = myfi.read()
3872
try:
3873
- self.pyt = PhotoImage(data=self.icon)
+ self.pyt = PhotoImage(open_img(BytesIO(self.icon)).resize((128, 128)))
3874
except Exception:
3875
logging.exception('Bugs')
3876
self.pyt = PhotoImage(data=images.none_byte)
0 commit comments