Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python PIL / Pillow Module for Image Manipulation
Rating: 4.4 out of 5(55 ratings)
11,865 students

Python PIL / Pillow Module for Image Manipulation

Pillow Module
Created byDiptam Paul
Last updated 8/2020
English
English [Auto],

What you'll learn

  • Able to Bulk Edit Images
  • Add Different Effect to Images instantly.
  • Use OpenCV to Use the manipulated images for next-level automation.

Course content

2 sections7 lectures49m total length
  • Basic of Pil or Pillow Module11:27

    Learn how to use the Python Pillow module for image manipulation to open, display, and convert images, iterate through a folder, and save converted images in a new folder.

  • More Customization on Images10:06

    Explore practical image manipulation with the Pillow library, resizing and saving images, converting to grayscale, rotating, and applying blur effects using Python.

  • New Method to Create An Image5:38
  • Blend and Composite Function7:19

    Compare and blend two images using Pillow's blend and composite functions, ensuring identical dimensions, then adjust with alpha and a mask to create a merged result.

  • Find All Colors from an Image8:21

    open an image with Pillow, use getcolors and image size to count pixels, and use getpixel for coordinates; compare getcolors with getdata.

  • Adding Text to An Image6:12

    Learn to write text on an image with PIL by loading the image, creating an ImageDraw object, and configuring text with ImageFont (TrueType fonts) and coordinates for positioning.

Requirements

  • Internet Connection
  • Python3 Basic Knowledge
  • Any Python IDE installed on your Device

Description

The Python Imaging Library or PIL allowed you to do image processing in Python. However, PIL’s last release was way back in 2009 and the blog also stopped getting updated. Fortunately, there were some other Python folks that came along and forked PIL and called their project pillow. The pillow project is a drop-in replacement for PIL that also supports Python 3, something PIL never got around to doing.

Please note that you cannot have both PIL and pillow installed at the same time. There are some warnings in their documentation that list some differences between PIL and pillow that get updated from time to time, so I’m just going to direct you there instead of repeating them here since they will likely become out of date.

Who this course is for:

  • Beginner in Python