Creating a slide show using tkinter
In this recipe, we will create a nice working slide show GUI using pure Python. We will see the limitations the core Python built-ins have, and then we will explore another available third-party module called Pillow
, which extends the built-in functionality of tkinter
in regards to image processing.
While the name Pillow
might sound a little bit strange at first, it actually comes with a lot of history behind it.
Note
We are only using Python 3.6 and above in this book. We are not going back to Python 2. Guido has expressed his decision to intentionally break backwards compatibility and decided that Python 3 is the future of Python programming.
For GUIs and images, the older line of Python 2 has a very powerful module named PIL
, which stands for Python Image Library. This library comes with a very large amount of functionality, which, several years after the very successful creation of Python 3, has not been translated for Python 3.
Many developers still choose...