# Faster than getPixel()

**URL:** <https://forum.kirupa.com/t/faster-than-getpixel/190977>\
**Category:** Uncategorized\
**Created:** [June 16, 2006, 1:59am UTC](https://forum.kirupa.com/t/faster-than-getpixel/190977 "2006-06-16T01:59:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ieatcotten](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@ieatcotten](https://forum.kirupa.com/u/ieatcotten)\
**Post date:** [June 16, 2006, 1:59am UTC](https://forum.kirupa.com/t/faster-than-getpixel/190977/1 "2006-06-16T01:59:54Z")

</div>

Does anyone know of a quicker method to get the number of pixels of a certain color in a bitmap than using the getPixel method in a for loop? 😟
