small medium large xlarge

Logo_pragsmall
15 May 2009, 11:34
Douglass Turner (10 posts)

Hi,

One of the core functions of the iPhone app I’m building is rapidly accessing color information at specific pixel locations at interactive speeds. How do I message UIImage for the color at a given pixel(x, y)?

Cheers, Doug

Biopic_100x100_pragsmall
15 May 2009, 13:25
Bill Dudney (917 posts)

You won’t find a method like that on UIImage. You will have to move down to the Quartz level.

Basically you have to get the underlying pixel data then get the color info from there.

Good luck!

You must be logged in to comment