[HOME]: [Mac OS X]: [MacPython]: [Emacs]: [生存報告記]: [MacEmacs JP Project]: [NTEmacs JP Project]:

Differences between revisions 1 and 2

Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
tar xvfz Imaging-1.1.3.tar.gz
cd Imaging-1.1.3/libImaging/
./configure
make
cd ..
http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
tar xvfz Imaging-1.1.7.tar.gz
cd Imaging-1.1.7
}}}

{{{
fink install jpeg
fink install lcms
}}}

{{{
vi setup.py

FREETYPE_ROOT = libinclude("/Developer/SDKs/MacOSX10.5.sdk/usr/X11/")
JPEG_ROOT = libinclude("/sw/lib/")
LCMS_ROOT = libinclude("/sw/lib/")
}}}

{{{
Line 17: Line 31:
python setup.py install sudo python setup.py install

概要

URL

http://www.pythonware.com/products/pil/index.htm

インストール

http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
tar xvfz Imaging-1.1.7.tar.gz
cd Imaging-1.1.7

fink install jpeg
fink install lcms

vi setup.py

FREETYPE_ROOT =  libinclude("/Developer/SDKs/MacOSX10.5.sdk/usr/X11/")
JPEG_ROOT = libinclude("/sw/lib/")
LCMS_ROOT = libinclude("/sw/lib/")

python setup.py build
sudo python setup.py install 

設定

利用方法

参考サイト

Python Imaging Library Handbook

Python Imaging Library ::: www.effbot.org


CategoryPython

紹介マニアMoinMoin: PIL (last edited 2009-12-12 23:59:48 by sakito)