开发者

CoreImage patches problems in 10.6

In 10.6 with some systems CoreImage CIPerspectiveTransform (And other api's too) results in colored patches in output image. (It seems like hardware related issue And it occurs only with images with resolution above 4000X2500)

Is there ay way to come out of this bug? At-last is it possible to use NSAffineTrans开发者_如何学Cform instead? If yes how to use it.

Thanks, Dhana.


When creating your CIContext, have you tried disabling the hardware renderer? This fixed problems for me:

CIContext *context = [CIContext contextWithCGContext:[[NSGraphicsContext currentContext] graphicsPort]
                                             options:[NSDictionary dictionaryWithObjectsAndKeys:
                      [NSNumber numberWithBool:YES], kCIContextUseSoftwareRenderer, nil]];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜