visual-data
v0.0.41
Published
reads images from a given folder (including subfolders) and return an object with timestamp and exif information
Downloads
7
Readme
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);