Yep that all works. I had a few problems with the data structure being wrong, but I'm now happily saving in 4bit or 8bit colour (which is alot smaller).

Thanks very much

cheers

Andy