如何把CMSampleBufferRef 转化为 NSData或者UIimage

2025-06-26 07:41:03
推荐回答(1个)
回答1:

您好,很高兴能帮助您, NSData*imageData =[NSData dataWithContentsOfFile: imagePath]; UIImage *aimage =[UIImage imageWithData: imageData]; 你的采纳是我前进的动力,还有不懂的地方,请你继续“追问”!