RGB Loader module

BlitzMax Forums/BlitzMax Programming/RGB Loader module

Brucey(Posted 2007) [#1]
While working on my Blender->B3D exporter over the weekend, I found that some images used by meshes were in the SGI RGB format, which, when MiniB3D attempted to load them, crashed (Simon, you need to add some error checking there ;-)

Anyhoo, I've released a new module (available from my website : http://brucey.net/programming/blitz/ ) which adds the ability to load those SGI RGB files.

As simple as...
Import BaH.RGBLoader

Local pix:TPixmap = LoadPixmap("example.rgb")


It's written in pure Max... and has been tested on Linux and Win32 so far.

It's not a very popular image format, but there are images out there, nonetheless :-)