Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pillow 2.0.0 tutorial [closed]

I'm trying to learn pillow 2.0.0 for python, but honestly I have no idea where to start, since I can't find any tutorials or docs, and the one here is badly structured, it only describes the modules one by one, so I can't get into it.

Do you have any links to:

  1. a tutorial/docs
  2. a simple piece of code writing a png and saving it to the file
  3. a link to a well commented program using imaging library which I can read

Does it makes any difference I'm using python 3.3 on a windows 7 ?

like image 556
Rasmus Damgaard Nielsen Avatar asked Apr 19 '13 19:04

Rasmus Damgaard Nielsen


People also ask

How do I find my pillow in CMD?

Check pillow Version Windows To check which version of pillow is installed, use pip show pillow or pip3 show pillow in your Windows CMD, command line, or PowerShell.

How do you use a pillow module?

Opening and Displaying the imageThe Pillow module provides the open() and show() function to read and display the image respectively. For displaying the image Pillow first converts the image to a . png format (on Windows OS) and stores it in a temporary buffer and then displays it.

How do you run a Python pillow?

To load the image, we simply import the image module from the pillow and call the Image. open(), passing the image filename. Instead of calling the Pillow module, we will call the PIL module as to make it backward compatible with an older module called Python Imaging Library (PIL).

How do you check pillow is installed or not?

Step 2: To check if PIL is successfully installed, open up the python terminal by typing python3 in the terminal. This will open up the python3 interactive console now type the following command to check the current version of the PIL. This will output the currently installed version of the PIL.


1 Answers

Pillow is a fork of PIL and use from PIL functions and classes. You can search PIL tutorial!

installation Pillow (you can install pip or easy_install in windows then write pip install pillow or easy_install pillow)

http://effbot.org/imagingbook/introduction.htm

http://www.geeks3d.com/20100930/tutorial-first-steps-with-pil-python-imaging-library/

http://nadiana.com/pil-tutorial-basic-advanced-drawing

http://nadiana.com/pil-tutorial-how-create-button-generator

http://pythonvision.org/basic-tutorial

http://python.developpez.com/cours/pilhandbook/php/introduction.php

http://www.riisen.dk/dop/pil.html

like image 99
Vahid Kharazi Avatar answered Sep 27 '22 20:09

Vahid Kharazi