Module brewcompressedimage
[hide private]
[frames] | no frames]

Module brewcompressedimage

source code

Support for the BCI (Brew Compressed Image) format

Currently this code can read a BCI file. You should call the getimage function.

Classes [hide private]
  Display
Used for the builtin tester
  MyImage
An encapsulation of the image
  BCIPalette
An encapsulation of the palette
  MemoryInputStream
  FileInputStream
  BCIImageHandler
  LGBITImageHandler
Functions [hide private]
 
getimage(stream, intoImage=None)
Returns a wxImage of the stream specified
source code
 
readlsb(data)
Read binary data in lsb
source code
Variables [hide private]
  BITMAP_TYPE_BCI = 51
  BITMAP_TYPE_LGBIT = 52