Image::BitmapData Usage?

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

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