This blows up:
NSBitmapImageRep *bitmapRep;
. . .
// init bitmapRep here
. . .
[CIImage imageWithBitmapData:[bitmapRep bitmapData] ::::];
because NSBitmapImageRep returns (unsigned char *) for -bitmapData
method
but CIImage expects (NSData *) input in -imageWithBitmapData:::::
method.
Should not both use same datatype or object? Or do I use wrong method?
Roland
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden