# getPixel-like command

**URL:** <https://forum.kirupa.com/t/getpixel-like-command/81226>\
**Category:** programming\
**Created:** [March 1, 2005, 12:24am UTC](https://forum.kirupa.com/t/getpixel-like-command/81226 "2005-03-01T00:24:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nih](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@nih](https://forum.kirupa.com/u/nih)\
**Post date:** [March 1, 2005, 12:24am UTC](https://forum.kirupa.com/t/getpixel-like-command/81226/1 "2005-03-01T00:24:22Z")

</div>

Hiya!

I’m gonna confess to still being a little iffy on the whole color-object thing. I get the basic idea and how transformations are applied and I think it’s fantastic, but I’m going to need more practice.

Anyway, is there a way to sample a particular pixel from a bitmap image? Ideally I’m take a global position and localise it to the bitmap then will sample the pixel it comes to rest on.

Cheers!
