Extract exif from photo?


#1

how do we extract exif information?


#2

I’ve used this library https://github.com/jseidelin/exif-js i retrieve exif information on my project


#3

thanks!!
does it work with android?
i have seen people complaining about cordova not coping exif information while fetching pictures from photo library.


#4

Hi, Gary.

I’m Danny Jung .

I’m having difficult time to get exif info after taking pictures by the cordova plug in.
It seems all the exif info is gone after taking pictures or getting pictures from photolibrary using option in the plugin.

Do you know any solution for this? or can I see the working code that you used with the library https://github.com/jseidelin/exif-js ?
I also tried to use this exif-js to try to retrieve exif information but couldn’t really figure out how to do that.

My code for taking pictures is like this.

$scope.upload = function(){
    var options = {
      destinationType : Camera.DestinationType.NATIVE_URI,
      sourceType : Camera.PictureSourceType.PHOTOLIBRARY,
      encodingType: Camera.EncodingType.JPEG,
    };
    $cordovaCamera.getPicture(options).then(function(imageData){
       

       
        });
      }, function(error){
        console.error(error);
      });
    }

I really appreciate for your help in advance.