Pillow/Demos
2012-06-18 12:01:52 +08:00
..
access_pixsel Added pythonic demos 2012-05-12 16:34:53 +08:00
crop Added pythonic demos 2012-05-12 16:34:53 +08:00
cutting_pasting_and_merging Added pythonic demos 2012-05-12 16:34:53 +08:00
draw_line Added pythonic demos 2012-05-12 16:34:53 +08:00
draw_points fixed drawing demos 2012-05-22 17:30:57 +08:00
draw_rectangle fixed drawing demos 2012-05-22 17:30:57 +08:00
draw_text fixed drawing demos 2012-05-22 17:30:57 +08:00
flip Added pythonic demos 2012-05-12 16:34:53 +08:00
grayscale Added pythonic demos 2012-05-12 16:34:53 +08:00
histogram Added pythonic demos 2012-05-12 16:34:53 +08:00
image_info Added pythonic demos 2012-05-12 16:34:53 +08:00
image_resources rm lena images 2012-06-18 12:01:52 +08:00
rotate Added pythonic demos 2012-05-12 16:34:53 +08:00
thumbnail Added pythonic demos 2012-05-12 16:34:53 +08:00
README.md rm lena images 2012-06-18 12:01:52 +08:00

Resources About PIL

PIL Handbook

PIL Tutorial

Images used in These Demos

http://www.cs.cmu.edu/~chuck/lennapg/

wget http://www.cs.cmu.edu/~chuck/lennapg/lena_std.tif -O image_resources/lena_std.tif
wget http://www.cs.cmu.edu/~chuck/lennapg/len_std.jpg -O image_resources/len_std.jpg

Build it on Mac OS X 10.6.8

Build an egg for i386 with Python 2.5/Python 2.6

export ARCHFLAGS="-arch i386"
export CC="/usr/bin/gcc-4.0 -arch i386"

python2.5 setup.py bdist_egg
python2.6 setup.py bdist_egg

Build an egg for x86_64 with Python 2.7(install it via MacPorts)

python setup.py bdist_egg

Install it via Package Management System

HomeBrew is cool, you could use it instead of MacPorts on OS X.