We can use the pylab module from the matplotlib library for image manipulation. The next section shows an example.
Image manipulation with Matplotlib
Get Hands-On Image Processing with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.