I\'m looking for a way to optimize my images by converting its color from 32bit to 16bit rather than just solely resize it. So this is what I\'m doing:
- (UI
So I've found my answer in Mac Developer Library. There's a table for the supported pixel formats and this is what I'm looking for:
RGB - 16 bpp, 5 bpc, kCGImageAlphaNoneSkipFirst
So I've changed my bitmapInfo and the context's created just fine. Hopefully this is useful for someone.
bitmapInfo