-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata support #102
Comments
Hey @fnakstad, right now we don't support any type of meta data because it hasn't been a requirement for us but it would be super cool if it did! Feel free to make a PR to add this kind of functionality, regardless if you do or don't, we will keep it in our backlog so that it doesn't get lost (personally I would love this feature). Thanks for supporting |
Cool! I checked into it some more, and discovered that this can be done fairly easily for photos taken with the standard camera app by directly accessing the assets, for example like this: func doneButtonDidPress(images: [UIImage]) {
imagePicker.dismissViewControllerAnimated(true, completion: nil)
for imageAsset in imagePicker.stack.assets {
let options = PHContentEditingInputRequestOptions()
options.networkAccessAllowed = true
imageAsset.requestContentEditingInputWithOptions(options) { (contentEditingInput: PHContentEditingInput?, _) -> Void in
let fullImage = CIImage(contentsOfURL: contentEditingInput!.fullSizeImageURL!)
print(fullImage?.properties)
}
}
} The As far as I can tell The EXIF data can be fetched from the dictionary returned by |
Hey guys! Great job on this library. My favorite image picker by far, and currently attempting to use it in my own app project.
One problem I'm having is that I also need to extract EXIF data for each image, so that I can store geotags and timestamps along with the raw image. As far as I can tell, this is not supported yet, and I'm guessing it will have to be done independently via the Photos Framework. Am I missing an obvious feature here? Or are there perhaps plans to also include metadata in the ImagePickerDelegate callbacks?
The text was updated successfully, but these errors were encountered: