iOS livephoto转image

2019-11-04  本文已影响0人  阿栋先森
  CIImage *ciImage = [CIImage imageWithData:imageData];
  CIContext *context = [CIContext context];
  imageData = [context JPEGRepresentationOfImage:ciImage colorSpace:ciImage.colorSpace options:@{}];
上一篇 下一篇

猜你喜欢

热点阅读