09 June
2004

いつのまにか0.72bがでていた。

申し訳ないくらいついていけてない。
来月には。。。


Posted by zope at 11:37 | Comments (2) | Trackbacks (0)

PILメモ

PILをいれてみる。以下の記事などに触発されたからだ



http://mooya.ath.cx/CubeDeZope/1086619135/index_html


意外と(かなり)手間取った。
まず
http://www.ijg.org/files/
からjpegsrc.v6b.tar.gz をもらってくる。
解凍したらjpeg-6bにはいって
configure --enable-shared --enable-static
make
make install
などする。

つぎはPILだ。
http://www.pythonware.com/products/pil/index.htm
からPython Imaging Library 1.1.4 Source Kit をもらってきて解凍。
Imaging-1.1.4/libImagingにはいって
./configure --with-jpeg=/usr/local/lib
make
su
cd ../
python setup.py install

これでいけるかな?抜けは無いと思うけど。
テストは
python
import PIL.Image
a = PIL.Image.open('/tmp/example.jpg')
a.load()
a.size
とかして見てa.load(),a.sizeでエラーが出なければOKみたいです。

参考URI:


http://www.zope.org/Members/regebro/PIL_zope/


http://coreblog.org/ats/193


http://www.randynetwork.com/blog/categorylist_html?cat_id=1


http://archive.linuxfromscratch.org/lfs-museum/1.3/LFS-HOWTO-1.3-HTML/LFS-HOWTO-1.3-17.html

これらの情報に感謝。



Posted by shinobu at 12:47 | Comments (2) | Trackbacks (0)