0.0.41 • Published 9 years ago

visual-data v0.0.41

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

VisualData

Features:

You pass a folder name and receive image information of all the visual files that can be found in the folder and its subdirectories. In case you have a list of image files alrady, you may also pass an array.

 	function visualData([folder], [callback])
  • The callback receives a timestamp sorted array of objects with the following structure:

 	    file = file;
        date = the creation time of the image
        time = converted to a timestamp
        this.exif  = exif information

Here is an example

function done(result)
    {
    if (result.length > 0) console.log(result[0].exif.ExposureTime);        
    }


visualData("folder", done);