Confused Noob
Hi Realberen, or anyone reading!
I am trying to get into iPhone stuff, and have made some progress wrapping my head around Obj-C and such. I am trying to get the raw pixel data from a UIImage as well (similar problem as you seemed to be having).
I know I need to convert it to a CGImage, but I can't get the code in the apple link above to compile in my app.
Can anyone help? I am trying to simply get those two functions:
CreateARGBBitmapContext and ManipulateImagePixelData
to compile into my app. How should I do this? Where should they go? They are C functions (not Obj-C) so should they go into a .c file, or a .m file? Or do I need to use a .mm file?
I have tried most everything I can think of but no progress so far.
Any help by anyone is appreciated!!!
Thanks,
GR
|