iPhone EXIF 数据

发布于 2024-09-29 23:28:39 字数 747 浏览 4 评论 0原文

我正在使用我正在拍摄的照片中的 iPhone EXIF 数据。

目前我返回的 EXIF 数据是:

{
    ApertureValue = "2.970854";
    ColorSpace = 1;
    ComponentsConfiguration =     (1,2,3,);
    ExifVersion =     (2,2,1);
    ExposureMode = 0;
    ExposureProgram = 2;
    ExposureTime = "0.03333334";
    FNumber = "2.8";
    Flash = 16;
    FlashPixVersion =     (1,0);
    FocalLength = "3.85";
    ISOSpeedRatings =     (500);
    MeteringMode = 3;
    PixelXDimension = 640;
    PixelYDimension = 480;
    SceneCaptureType = 0;
    SensingMethod = 2;
    Sharpness = 2;
    ShutterSpeedValue = "4.911055";
    SubjectArea =     (319,239,230,172);
    WhiteBalance = 0;
}

我希望能够添加一些字段,例如地理位置、日期和时间。 如何指定我想要返回的新密钥? 有人知道这在 ios 4.1 中是如何实现的吗?

I am using the iPhone EXIF data from a photo that I am capturing.

Currently the EXIF data I am getting back is:

{
    ApertureValue = "2.970854";
    ColorSpace = 1;
    ComponentsConfiguration =     (1,2,3,);
    ExifVersion =     (2,2,1);
    ExposureMode = 0;
    ExposureProgram = 2;
    ExposureTime = "0.03333334";
    FNumber = "2.8";
    Flash = 16;
    FlashPixVersion =     (1,0);
    FocalLength = "3.85";
    ISOSpeedRatings =     (500);
    MeteringMode = 3;
    PixelXDimension = 640;
    PixelYDimension = 480;
    SceneCaptureType = 0;
    SensingMethod = 2;
    Sharpness = 2;
    ShutterSpeedValue = "4.911055";
    SubjectArea =     (319,239,230,172);
    WhiteBalance = 0;
}

I want to be able to add some fields such as geolocation, date and time.
How can I specify new keys that I want returned?
Anyone know how this is possible in ios 4.1?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心凉 2024-10-06 23:28:39

我最近也在为同样的事情而苦苦挣扎。请参阅我对这个问题的回答,其中展示了如何进行地理标记和日期时间。

I recently struggled with the same thing. See my answer to this question which shows how to do geotagging and datetime.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文