Python Image Library Tutorial

Python Image Library Tutorial

Resources Discussion

Python Image library (PIL) is a free library for python programming language that provides support for modifying the image. We can open the image,convert the image to other format,blur the image,crop,resize,rotate and creating images with watermarks,creating word clouds and so on.Python Image Library is used by many real time applications internally to manipulate the image.The last version of PIL is 1.1.7 and was released on September 2009 and later development was discontinued later which PIL was replaced by Pillow.

Audience

This tutorial has been prepared for python developers to make them understand the Image manipulation with all the modules and the various applications of Image Library.

Prerequisites

Basic Python programming experience. You need to know how to use an editor and run scripts, how to structure code as well as basic data types

For installing Pillow there are some external libraries which has to be installed. So make sure that all the dependent libraries on Pillow are been installed.

Basic mathematics in order to work with image manipulation

Tools Notes
Operating system You have lot of options. You must be running one of the following. Any Microsoft 32 bit or 64 bit Any Unix or Linux system A Macintosh running Mac OS X 10.2.3 or higher.
The Python 2.x or 3.x Available for download at https://pypi.python.org/pypi/Pillow Installation explained in next section
Pillow library
A text editor Any editor that recognizes Python syntax but using editor is not mandatory.By default python is installed with IDLE in windows.
Advertisements