israel-dryer / ttkbootstrap

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
MIT License
1.79k stars 363 forks source link

Bug when using the meter widget (related to how the Pillow package handles image resize) #496

Open shalabycr7 opened 9 months ago

shalabycr7 commented 9 months ago

Desktop (please complete the following information):

ttkbootstrap Version 1.10.1 pillow Version 10.0.1 python Version 3.12.0

OS: Windows 10 IDE: PyCharm Version 2023.2.2

Describe the bug

when using the meter widget with new updated version of the pillow library which ttkbootstrap uses it gives an error suggesting using BICUBIC method instead of CUBIC used by default in ttkbootstrap

this is probably more related to the pillow library but I think it should be mentioned to see if the developer can update the ttkbootstrap library to support it and fix the error.

Note: the error can be evaded by using an older version of the pillow package like v 9.5.0

To Reproduce

Using the meter widget with a newer version of Pillow module than v 9.5.0 for example v 10.0.1

Expected behavior

the meter widget shall work fine and the app starts up and work fine instead of crashing due to the error mentioned

Screenshots

1

Additional context

No response

rdbende commented 9 months ago

Duplicate of #472, and a bunch of others.

rdbende commented 7 months ago

The issue was resolved by the merge of #490. Please close it.