April 2024
Beginner to intermediate
500 pages
24h 20m
English
The image library used in Chapter 6 relies on two Python modules. The first module is cImage.py, which is provided with the source code for Chapter 6. You can either use the cImage.py file in the Chapter 6 folder or move it to the site-packages folder. In Windows, the site-packages folder is located in the Lib folder under Python’s installation folder. In this way, Python will find cImage.py from any working folder. The cImage module will work with gif and ppm files with no additional modules required.
The second module, called the Python Image Library, should also be installed. Pillow allows image processing of JPGs and several other image formats. To install Pillow, on the command line, type ...
Read now
Unlock full access