Pillow

An Intro to Image Processing with Wand / ImageMagick and Python

ImageMagick is an open-source tool that you can use to create, edit, compose, or convert digital images. It supports over 200 image formats. According to its website, ImageMagick can resize, flip, mirror, rotate, distort, shear, and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses, and Bézier curves. For …

An Intro to Image Processing with Wand / ImageMagick and Python Read More »

Creating a Warhol Triptych Image with Pillow and Python

Andy Warhol is a well-known artist who created a famous image where there are multiple copies of the same face but with different background colors. You can do a similar trick with software using Python and the Pillow package. You will also need to have NumPy installed to make this work. Let’s find out how …

Creating a Warhol Triptych Image with Pillow and Python Read More »

Converting an Image to ASCII with Python

There are lots of fun Python snippets out there that you can use to convert your photos into ASCII art. Anthony Shaw, an author, and contributor at Real Python, has his own snippet on GitHub. Most of these small programs use the Pillow package. These programs work best with simple images, especially ones that don’t …

Converting an Image to ASCII with Python Read More »

Pillow: Image Processing with Python Now Available!

Pillow: Image Processing with Python is my latest book on the Python programming language. The paperback and Kindle versions are now available on Amazon. The paperback version of the book is in full color. That is why it more expensive than any of my other books to purchase. I put together a little video where …

Pillow: Image Processing with Python Now Available! Read More »

PySimpleGUI – How to Draw Shapes on an Image with a GUI

Drawing shapes on images is neat. But wouldn’t it be nice if you could draw the shapes interactively? That is the point of this tutorial. You will create a user interface using PySimpleGUI to allow you to draw shapes on images! The purpose of this user interface is to show you how you can make …

PySimpleGUI – How to Draw Shapes on an Image with a GUI Read More »

Drawing Shapes on Images with Python and Pillow

Pillow provides a drawing module called ImageDraw that you can use to create simple 2D graphics on your Image objects. According to Pillow’s documentation, “you can use this module to create new images, annotate or retouch existing images, and to generate graphics on the fly for web use.” If you need more advanced drawing capabilities …

Drawing Shapes on Images with Python and Pillow Read More »

Pillow: Image Processing with Python Available for Pre-order

Pillow: Image Processing with Python is my latest book on Python. It is now available for pre-order. What that means is that you can purchase an early version of the book and get all the updates to it for free after purchase, including the final edition. The final edition will be done in April 2021. …

Pillow: Image Processing with Python Available for Pre-order Read More »

Create an Exif Viewer with PySimpleGUI

The Pillow package gives you the ability to extract Exif (Exchangeable Image File Format) metadata from images. You can get a lot of information about your images via the Exif data. However, there are some key data points that are more useful than others. For those pieces of data, it’s nice to create a GUI …

Create an Exif Viewer with PySimpleGUI Read More »