1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Ben Hardill ebd043cec6
fix for #813 (#814)
* Fix for #813

Ensure `msg.location` exists before populating

* Only add location data if location present
2021-06-29 09:03:46 +01:00
..
2021-03-12 13:17:23 +00:00
2021-06-29 09:03:46 +01:00
2021-06-29 09:03:46 +01:00

node-red-node-exif

A Node-RED node to extract Exif information from JPEG images.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-exif

Usage

Extracts Exif 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.

If the Exif data also contains location information this is extracted as msg.location.

msg.payload retains the original, unmodified image buffer.