my problem is reading the pixel data correctly once i have the pointer
so i have an image that takes up the whole iphone screen that has no alpha channel (24 bits per pixel, 8 bits per component, 960 bytes per row) and i want to find out the color of a pixel at a particular XY coordinate.
i have the pointer to the data
UInt8 *data = CFDataGetBytePtr(bitmapData);
but now i am not sure how to index into the data correctly given an X,Y coordinate, any help on this would be appreciated
-jeff