Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 5cbb2d15b928e5cda7a6aeb04f3b1a17 > files > 88

python-imaging-devel-1.1.5-7.el5.i386.rpm

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=us-ascii' />
<title>The PIL.WalImageFile Module</title>
<link rel='stylesheet' href='effbot.css' type='text/css' />
</head>
<body>
<h1>The PIL.WalImageFile Module</h1>
<dl>
<dt><a id='PIL.WalImageFile.open-function' name='PIL.WalImageFile.open-function'><b>open(filename)</b></a> [<a href='#PIL.WalImageFile.open-function'>#</a>]</dt>
<dd>
<p>Load texture from a Quake2 WAL texture file.
</p><p>
By default, a Quake2 standard palette is attached to the texture.
To override the palette, use the <b>putpalette</b> method.

</p><dl>
<dt><i>filename</i></dt>
<dd>
WAL file name, or an opened file handle.</dd>
<dt>Returns:</dt>
<dd>
An image instance.</dd>
</dl><br />
</dd>
</dl>
</body></html>