views:

37

answers:

0

Hi.

I am trying to work with images in Cocoa - open images and manipulate with them.

I take ImageApp as example . All work fine, but I need to save images in lower quality -(8, 4, 2, 1 bits per pixel - 256, 16, 4, 2 colors respectively). According to documentation, the "lowest" pixel format is Gray 8 bpp, 8 bpc,kCGImageAlphaNone and it is not color

Does anyone have a solution to this problem?

I would be grateful for examples or links to documentation.