node-red-nodes/utility/exif/README.md

24 lines
698 B
Markdown
Raw Permalink Normal View History

2014-11-08 15:11:02 +01:00
node-red-node-exif
==================
A <a href="http://nodered.org" target="_new">Node-RED</a> node to extract Exif information from JPEG images.
Install
-------
Run the following command in your Node-RED user directory - typically `~/.node-red`
2014-11-08 15:11:02 +01:00
npm install node-red-node-exif
Usage
-----
Extracts <a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format">Exif</a> information from JPEG images.
This node expects an incoming JPEG image as a buffer. If Exif data is present, it extracts the data into a `msg.exif` object.
2014-11-08 15:11:02 +01:00
If the Exif data also contains location information this is extracted as `msg.location`.
2014-11-08 15:11:02 +01:00
`msg.payload` retains the original, unmodified image buffer.