将Exif数据保存到iOS设备上的Documents文件夹中的Image

时间:2014-04-05 22:11:27

标签: ios exif

我有包含jpg文件的UIImage * photoImage。我想将EXIF数据添加到此图像,如UserComment,ImageDescription和Software。我想将此文件保存到iOS设备上的Documents文件夹中,因为myImage.jpg我不想将其保存到PhotoLibrary。

我不确定如何添加EXIF数据。

我会使用

将图像保存到磁盘
NSData *photoData = UIImageJPEGRepresentation(photoImage, 1);
[photoData writeToFile:filePath atomically:YES];

如何将EXIF数据添加到photoData?感谢

0 个答案:

没有答案