# Image::BitmapData Usage?

**URL:** <https://forum.juce.com/t/image-bitmapdata-usage/4830>\
**Category:** General JUCE discussion\
**Created:** [February 3, 2010, 8:33am UTC](https://forum.juce.com/t/image-bitmapdata-usage/4830 "2010-02-03T08:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![in23d](https://avatars.discourse-cdn.com/v4/letter/i/46a35a/32.png) [@in23d](https://forum.juce.com/u/in23d)\
**Post date:** [February 3, 2010, 8:33am UTC](https://forum.juce.com/t/image-bitmapdata-usage/4830/1 "2010-02-03T08:33:40Z")

</div>

Can some one give me code example how I can use the new BitmapData class. What are the steps to get to the pixels of the image and modify them? I couldn’t see if I have to release any locks? and how can I get the actual colour from uint8\* getPixelPointer ?? Cheers

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [February 3, 2010, 8:56am UTC](https://forum.juce.com/t/image-bitmapdata-usage/4830/2 "2010-02-03T08:56:29Z")

</div>

If you search the codebase for BitmapData, there are dozens of examples of it being used…
