Python Imaging Library Handbook |
(New in 1.1.4) PIL reads Quake2 WAL texture files.
Note that this file format cannot be automatically identified, so you must use the open function in the WalImageFile module to read files in this format.
By default, a Quake2 standard palette is attached to the texture. To override the palette, use the putpalette method.