lib/readVisualData.js
function exif (file) {
    "use strict";    
    var deferred = Q.defer(), o = {};
    
    new ExifImage({ image : file }, function (error, data) {
      if (error) 
         {
         // callback.call("error " + file);
         deferred.reject("ERROR");     
         }
      if (data)
        {
        o.file = file;
        o.data = data;    
        deferred.resolve(o); 
        }
    });
    
    return deferred.promise;
    }
function exif (file) {
    "use strict";    
    var deferred = Q.defer(), o = {};
    
    new ExifImage({ image : file }, function (error, data) {
      if (error) 
         {
         // callback.call("error " + file);
         deferred.reject("ERROR");     
         }
      if (data)
        {
        o.file = file;
        o.data = data;    
        deferred.resolve(o); 
        }
    });
    
    return deferred.promise;
    }
function exif ( file ) { "use strict" ; var deferred = Q . defer ( ) , o = { } ; new ExifImage ( { image : file } , function ( error , data ) { if ( error ) { // callback.call("error " + file); deferred . reject ( "ERROR" ) ; } if ( data ) { o . file = file ; o . data = data ; deferred . resolve ( o ) ; } } ) ; return deferred . promise ; }
liest die exif Daten des Bides ein
liest die exif Daten des Bides ein