Neil, dont think maths is ur strong point. Even with ur way of reading it 800% faster would nly be 9 times the speed!
AG
Maybe I got the word wrong but I thought u could get a function to take big num down to a small one. Whatever the crunching look up whatsit is called, it requires R,G,B colors to go to Indexing Ints 1,2,3 ....
Then I would need a reverse function to get back from the Index to the color, but that must be impossible as u cant get compression out of nothing as its not a 1 to 1 mapping. If it just stored as a dictionary pair it must be slow because it has to look through the whole list of RGBs to find its Index on reverse look-up?
My condense routine works really well, also doesnt need a look up table so Ive used that. Simple as well, as long as u dont pick any two colours closely similar. all 3 RGB's reduced DiV 64 so (R,G,B) (4*4*4)=64 COLOURS
RGB -> index = R/64*16 + G/64*4 +B
Plus having the rule crammed into a double makes passing the array easy!
Problem with the PPC version is the bit Im now totally stuck on.