Macos 10.6中的CoreImage修补程序问题

Macos 10.6中的CoreImage修补程序问题,macos,osx-snow-leopard,core-image,Macos,Osx Snow Leopard,Core Image,在10.6中,对于某些系统,CoreImage CIPerspectiveTransform(以及其他api)会在输出图像中产生彩色斑点。(这似乎是与硬件相关的问题,只有分辨率高于4000X2500的图像才会出现) 有办法摆脱这个错误吗? 最后,是否可以使用NSAffinetTransform替代? 如果是,如何使用它 谢谢, Dhana。在创建CIContext时,是否尝试禁用硬件渲染器?这为我解决了以下问题: CIContext *context = [CIContext contextWi

在10.6中,对于某些系统,CoreImage CIPerspectiveTransform(以及其他api)会在输出图像中产生彩色斑点。(这似乎是与硬件相关的问题,只有分辨率高于4000X2500的图像才会出现)

有办法摆脱这个错误吗? 最后,是否可以使用NSAffinetTransform替代? 如果是,如何使用它

谢谢,
Dhana。

在创建
CIContext
时,是否尝试禁用硬件渲染器?这为我解决了以下问题:

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

创建
CIContext
时,是否尝试禁用硬件渲染器?这为我解决了以下问题:

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

好消息!根据图像大小禁用硬件渲染可能是有意义的,因此您仍然可以将其用于较小的图像,非常有用!根据图像大小禁用硬件渲染可能是有意义的,因此您仍然可以将其用于较小的图像,