So in python i have a Label that I'm using to display images. But the images are rather large and they exceed the size of the label. Is there a way to load the images to fit the la
Solution 1:
try:
im = im.resize(maxsize)
instead of:
im.thumbnail(maxsize, Image.ANTIALIAS)
Share
Post a Comment
for "How To Fit Image To Label In Python"
Post a Comment for "How To Fit Image To Label In Python"