In my iPhone app, I download images from a web site. I would like to resize and crop these before saving them, but CGBitmapContextCreate
tells me that the images have "unsupported parameter combinations". I guess I would have to convert my images to one of the supported formats before using CGBitmapContextCreate
, but how do I do that?