K got this to work with "int theImageArray[MAX_HEIGHT][MAX_WIDTH];" as global. Now that I have that working, I have to find some code to manipulate the brightness outcome of the image. I am looking at GameDev.net -- An Introduction To Digital Image Processing but it wants me to implement the Allegro library which I am having difficulty doing. Any other resources out there that you know of for code to produce a darker or lighter image?

Thanks!