mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
tweak up exif node - nicer colours smaller icon
This commit is contained in:
parent
70e04763da
commit
04465c1dca
@ -64,12 +64,12 @@ module.exports = function(RED) {
|
||||
}
|
||||
if (msg.location) {
|
||||
msg.location.arc = {
|
||||
ranges: [500,1000,2000],
|
||||
ranges: [100,300,500],
|
||||
pan: gpsData.GPSImgDirection,
|
||||
fov: (2 * Math.atan(36 / (2 * msg.exif.exif.FocalLengthIn35mmFormat)) * 180 / Math.PI),
|
||||
color: '#910000'
|
||||
color: '#aaaa00'
|
||||
}
|
||||
msg.location.icon = "fa-camera";
|
||||
msg.location.icon = "fa-camera fa-1x";
|
||||
var na;
|
||||
if (val.hasOwnProperty("name")) { na = val.name; }
|
||||
else if (msg.hasOwnProperty("filename")) { na = msg.filename.split('/').pop(); }
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-exif",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "A Node-RED node that extracts Exif information from JPEG image buffers.",
|
||||
"dependencies": {
|
||||
"exif": "^0.6.0"
|
||||
|
Loading…
Reference in New Issue
Block a user