As a special case of this question:
What do you do if the format of your UIImage is unsupported? In my case, I have a monochrome UIImage object that I read in from a file. Each pixel has 8 bits of color(white) data followed by 8 bits of alpha data. The format is unsupported, but the image displays just fine on the iPhone screen.
But getting pixel data as described in the referenced question won't work as the format is unsupported. So what can I do?