New Code Arc Entry: Count Colours

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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