
captureStillimageOutput captureStillimageAsynchronouslyFromConnection:connection completionHandler:^(CMSampleBufferRef imageSampleBuffer,NSError *error) { // that famous function from Apple docs found on a lot of websites // does NOT work for still images UIImage *capturedImage = [self imageFromSampleBuffer:imageSampleBuffer]; } http://developer.apple.com/library/ios/#qa/qa1702/_index.html是imageFromSampleBuffer函数的链接.
但它不能正常工作. 总结
以上是内存溢出为你收集整理的ios – 无需压缩即可捕获UIImage(来自CMSampleBufferRef)?全部内容,希望文章能够帮你解决ios – 无需压缩即可捕获UIImage(来自CMSampleBufferRef)?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)