K.S.Sreeram wrote: > I'm getting an 'unknown raw mode' error on ImageQt.py:59: > data = im.tostring( "raw", "BGRX" ) > > Does this only work with PIL 1.1.6 snapshots? I currently have > PIL 1.1.5.
it was developed on Python 2.4.3 and PIL 1.1.5, so it should work. and BGRX support has been in there for ages (at least since 1.1.1). what happens if you do: $ python >>> import Image >>> im = Image.new("RGB", (100, 100)) >>> print len(im.tostring("raw", "BGRX")) 40000 </F> -- http://mail.python.org/mailman/listinfo/python-list