> On Wed, 29 Sep 1999 18:02:33 +0200 Quentin writes: > >Mike, you are a star! > >The 8x8/256 is exactly what I need. > > > >Thanks > >Quentin > > As I mentioned before, I believe it should be 8x8/255 , not 256. > Try 0xff*0xff/0x100 or 0xff*0xff/0xff > > Harold > Harold is indeed correct, sorry about that. Dividing by 255 is, however, far more tricky than 256. If you can live with a maximum error of 1 bit occaisionally then dividing by 256 may still be a viable option. Regards Mike Rigby-Jones