I desperately need to create a CGContextRef WITHOUT an alpha channel. Unfortunately, with Core Graphics you CANNOT specify kCGImageAlphaNone with CGBitmapCreateContext.
You can create a bitmap context with no alpha channel. You just can't create a bitmap context with three bytes per pixel. Here's the secret handshake:
CGContextRef gc = CGBitmapContextCreate(NULL, myWidth, myHeight, 8, myWidth * 4, myColorSpace, kCGImageAlphaNoneSkipLast);