How do I use a monochrome bitmap to display a color image on the iPhone?
- by No One in Particular
I have a sequence of bits for a monochrome image (0 = black, 1 = white). I want to take this data and draw an image on the iPhone in color. If a pixel value == 0, then paint it color1, else color2.
I have gotten absolutely nowhere. Originally, I thought I could use glBitmap, but it is not supported on the iPhone.
Does anyone have an idea of how to do this?
Thanks in advance.