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
|
|
|
|
-------
|
|
|
|
|
2016-03-02 14:24:56 +01:00
|
|
|
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.
|
|
|
|
|
2016-03-02 14:24:56 +01:00
|
|
|
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
|
|
|
|
2016-03-02 14:24:56 +01:00
|
|
|
If the Exif data also contains location information this is extracted as `msg.location`.
|
2014-11-08 15:11:02 +01:00
|
|
|
|
2016-03-02 14:24:56 +01:00
|
|
|
`msg.payload` retains the original, unmodified image buffer.
|