【发布时间】:2010-12-16 12:59:30
【问题描述】:
我有一个加载 Quartz 文件的 QCView,它可以为您提供 iSights 反馈(基本上就像 QTCaptureView)
一切正常
按钮只需使用以下简单的代码行拍摄快照
- (void)takePicture:(id)sender {NSImage *currentImage = [outputView valueForOutputKey:@"ImageOutput"];
[[currentImage TIFFRepresentation] writeToFile:@"/Users/hendo13/Desktop/capture.tiff" atomically:NO];}
然而,导出的图像有一些非常不稳定的着色问题,例如: http://kttns.org/gjhnj
未应用任何类型的过滤器。有谁知道是什么原因造成的?
【问题讨论】:
-
你找出问题所在了吗?
标签: cocoa image quartz-composer isight