> you might want to try to use CIContext's
> - (void)render:(CIImage *)im toBitmap:(void *)data rowBytes:(ptrdiff_t)
> bounds:(CGRect)r format:(CIFormat)f colorSpace:(CGColorSpaceRef)cs;
> method instead of calling drawImage:... to a CGBitmapContext to get
> bits out.
Thanks Ralph, that's excellent advice! However, I noticed that the supported pixel formats (CIFormat) are limited to 32/64-bit fixed point RGBA and floating point RGBA, but I need the pixel data in an 8-bit mono format. That's achievable by using drawImage with a CIContext made from a CGBitmapContext with that format, but is there also a way I could still use render:, while getting the pixel format I need?
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden