New Code Arc Entry: Count Colours

BlitzPlus Forums/BlitzPlus Programming/New Code Arc Entry: Count Colours

Snarty(Posted 2003) [#1]
Hi all,

Had to make this little algo for ProPixel2D, so I thought I'd share it, never know who else might find it useful. On my machine it managed to count 128,000+ colours on a 1024x1334 24bit image in around 750ms (including the Progbar updates). It could be optimised a little (either memory wise or speed wise) but it does the job.

Count Colours


Kevin_(Posted 2003) [#2]
Snarty that is great!

A very handy function for colour reducing!

Regards


Beaker(Posted 2003) [#3]
Tight!