ios - 如何在 ios 中获取图像元数据

标签 ios image metadata

我想使用 ios 显示图像元数据。 光圈、快门速度、曝光补​​偿、ISO、镜头焦距等元数据。 所以如果有人有想法,请帮助我。

最佳答案

CGImageSourceRef source = CGImageSourceCreateWithURL( (CFURLRef) aUrl, NULL);
CGImageSourceRef source = CGImageSourceCreateWithData( (CFDataRef) theData, NULL);
NSDictionary* metadata = (NSDictionary *)CFBridgingRelease(CGImageSourceCopyPropertiesAtIndex(source,0,NULL));
CFRelease(source);

查字典内容here .

关于ios - 如何在 ios 中获取图像元数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12478502/

相关文章:

ios - 将对象添加到枚举给我错误

objective-c - 为什么这个 OCUnit 测试失败?

c# - 如何仅保存图片框中显示的图像

java - 向图像添加噪声

image - 使用CSS使图像变得暗淡和明亮

java - Eclipse - YAML 错误 : Expected a 'String' but got a 'Mapping' node

vb.net - 永远不会调用IMetadataAware.OnMetadataCreated

app-store - 如何为Couchbase模式建模以存储应用程序特定的元数据?

ios - 从 Xcode 机器人部署到 Crashlytics Beta 服务

ios - NSDate 日期为不可更改的值