drawing bitmaps in the gui

some blender scripts like the ogre exporter draw logos in the gui. they encode the pixels in a python list. is there a script or tool which generates such lists from bitmaps?

you can try this
http://www.freewebs.com/scabootssca/Scripts/DspImg.py

or theese three
(you need all three)
http://www.freewebs.com/scabootssca/Scripts/BmpRead.py
http://www.freewebs.com/scabootssca/Scripts/DrawImg.py
http://www.freewebs.com/scabootssca/Scripts/TgaRead.py

i dont remember how to use them riht now but yo can figure them out

thanks, i will try them.

Better still

use…
Blender.Draw.Image(image, x, y, zoomx, zoomy, clipx, clipy, clipw, cliph)

you have to load the image into blender first however.
i = Image.Load(‘c:\image.bmp’)
Blender.Draw.Image…