All image code is now a soft dependency. If the term-image
and/or pillow libraries are not loaded, the tui will work
fine without displaying images.
Note that tests/test_utils.py still has a dependency on pillow
due to its use of Image for tsting the LRUCache.