Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cblackburn

macrumors regular
Original poster
Jul 5, 2005
158
0
London, UK
Hey everyone,

I have a program that manipulates some images using Core Image but now I need to access data about individual pixels from the image. What is the best way to do this? Do I need to pull the image down from the GPU? If so then how do I do that?

Thanks

Chris
 

cblackburn

macrumors regular
Original poster
Jul 5, 2005
158
0
London, UK
Trouble is that will convert it to an NSImage but when I try to get an NSBitmapImageRep from it to read individual pixel data it crashes saying it cannot do that.

I only want to read the data at certain pixels, I don't need to change it.

Chris
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.