Look for a simple example or link to a tutorial.
Let's say I have a bunch of values ββstored in an array. I would like to create an image and update the image data from my array. Suppose the array values ββare intensity data and will update the image in grayscale. Suppose the array values ββare in the range 0 to 255, or that I will convert it to this range.
This is not for animation. Rather, the image will be updated based on user interaction. This is what I know how to succeed in Java, but I am very new to programming on the iPhone. I was looking for some information about CGImage and UIImage, but I do not understand where to start.
Any help would be appreciated.
source share