'Dynamic image resizing on Canvas-Tkinter
I want to upload an image to a drawing canvas in tkinter and it will be possible to resize the image dynamically as in word, powerpoint without resizing the screen itself but only the image.enter image description here
Solution 1:[1]
Unfortunately, tkinter lacks the support for this particular task. It can resize the canvas dynamically, but not it's contents. You are going to need some other library like Pillow, NumPy/SciPy, or OpenCV.
You can find more libraries by searching online or on this website, which has a fairly nice tutorial regarding a the ones I mentioned as well as a few more.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
