CoreImage补丁10.6问题
-
20-09-2019 - |
题
在10.6与某些系统CoreImage CIPerspectiveTransform(和其他API的太)在输出图像色斑结果。 (这似乎是与硬件相关的问题,它只是与上述4000X2500的分辨率的图像时)
有AY走出来的路这个bug? AT-最后是有可能使用NSAffineTransform呢? 如果是如何使用它。
谢谢, Dhana。
解决方案
在创建CIContext
,你有没有尝试禁用硬件渲染器?这个固定的问题对我来说:
CIContext *context = [CIContext contextWithCGContext:[[NSGraphicsContext currentContext] graphicsPort]
options:[NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], kCIContextUseSoftwareRenderer, nil]];
不隶属于 StackOverflow