Thanks Dave, that's perfect! Unfortunately I can't simply add up the content of each bmap, since there's going to be a lot of overlapping. I'm going for a color count for a screenshot, not just a panel. Your other code works brilliantly, though.


When your script isn't working right, usually it's because it's doing exactly what you told it to. -An Unknown Programmer