Latest 0.0.1
Homepage https://github.com/Nikita2k/SimpleExif
License MIT
Platforms ios 5.0, requires ARC

SimpleExif is objective-c library allowing you to write UIImage along with its metadata(EXIF data), add creation date to UIImage, add location data to UIImage. It helps you to write exif metadata to an image (not the camera roll, just a UIImage or JPEG). This is just a handy wrapper around system functions to add some Exif information to UIImages in your app. It can be useful for apps manipulating photos. For example, you can add some thirg party photo editor and persist EXIF data with edited UIImage.

This library doesn’t support getting Exif data from UIImage!

Currently SimpleExif supports adding:

  • User comments
  • Created timestamp
  • Location

Installation

Just add pod 'SimpleExif' to your Podfile!

How to write exif metadata to an image?

Working example can be found in Project dir, but here is the basics:

First create a ExifContainer:

ExifContainer *container = [[ExifContainer alloc] init];

and populate it with all requred data:

[container addUserComment:@"A long time ago, in a galaxy far, far away"];
[container addCreationDate:[NSDate dateWithTimeIntervalSinceNow:-10000000]];
[container addLocation:locations[0]];

Then you can add Exif data to UIImage:

Data *imageData = [[UIImage imageNamed:@"DemoImage"] addExif:container];

Latest podspec

{
    "name": "SimpleExif",
    "version": "0.0.1",
    "summary": "Simple exif is a pod that allows you to add Exif data to any UIImage in your app. You can add location, timestamp and user comments.",
    "homepage": "https://github.com/Nikita2k/SimpleExif",
    "license": {
        "type": "MIT",
        "file": "LICENCE"
    },
    "platforms": {
        "ios": "5.0"
    },
    "requires_arc": true,
    "authors": "Nikita Took",
    "source": {
        "git": "https://github.com/Nikita2k/SimpleExif.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "Classes",
        "Classes/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This