Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-image-tools

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-image-tools - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

examples/Generate barcodes.json

@@ -1,1 +0,1 @@

[{"id":"dac6eec4.6027","type":"Barcode Generator","z":"b9a43aed.f09838","name":"","data":"payload","dataType":"msg","barcode":"datamatrix","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"backgroundcolor","v":"ffffff","vt":"str"},{"p":"padding","v":"10","vt":"num"},{"p":"alttext","v":"Alt text","vt":"str"},{"p":"showborder","v":"true","vt":"bool"},{"p":"textsize","v":"5","vt":"num"},{"p":"textyalign","v":"bottom","vt":"str"},{"p":"textcolor","v":"ff4488","vt":"str"}],"x":990,"y":80,"wires":[["4f7af97.72ddf08"]]},{"id":"8c35bb89.840158","type":"inject","z":"b9a43aed.f09838","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"node-red-contrib-image-tools","payloadType":"str","x":110,"y":80,"wires":[["fd2d387b.58e998"]]},{"id":"aff9e1f2.6545e","type":"inject","z":"b9a43aed.f09838","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"01023456","payloadType":"str","x":120,"y":120,"wires":[["fd2d387b.58e998"]]},{"id":"4f7af97.72ddf08","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"160","data":"payload","dataType":"msg","x":1050,"y":180,"wires":[[]]},{"id":"fd2d387b.58e998","type":"change","z":"b9a43aed.f09838","name":"blue bar with padding","rules":[{"t":"set","p":"options","pt":"msg","to":"{\"barcolor\":\"0000ff\",\"rotate\":\"N\",\"showborder\":true, \"padding\": 2}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":80,"wires":[["dac6eec4.6027","dd55a249.413d4","b4176c0b.65f06"]]},{"id":"dd55a249.413d4","type":"Barcode Generator","z":"b9a43aed.f09838","name":"QRCODE","data":"payload","dataType":"msg","barcode":"qrcode","barcodeType":"barcode","options":"options","optionsType":"msg","sendProperty":"payload","props":[],"x":740,"y":100,"wires":[["3fecb23f.e8834e"]]},{"id":"3fecb23f.e8834e","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"160","data":"payload","dataType":"msg","x":790,"y":180,"wires":[[]]},{"id":"44664f4e.79f68","type":"change","z":"b9a43aed.f09838","name":"red on gray","rules":[{"t":"set","p":"options","pt":"msg","to":"{\"barcolor\":\"ff0000\",\"backgroundcolor\":\"dddddd\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":290,"y":180,"wires":[["dac6eec4.6027","dd55a249.413d4","b4176c0b.65f06"]]},{"id":"3682b69a.da69ba","type":"inject","z":"b9a43aed.f09838","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"node-red-contrib-image-tools","payloadType":"str","x":110,"y":180,"wires":[["44664f4e.79f68"]]},{"id":"68a5e435.19a34c","type":"inject","z":"b9a43aed.f09838","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"01023456","payloadType":"str","x":120,"y":220,"wires":[["44664f4e.79f68"]]},{"id":"7e45ba41.474a04","type":"Barcode Generator","z":"b9a43aed.f09838","name":"CODE128","data":"payload","dataType":"msg","barcode":"code128","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"rotate","v":"L","vt":"str"},{"p":"alttext","v":"hello","vt":"str"},{"p":"showborder","v":"true","vt":"bool"},{"p":"padding","v":"1","vt":"num"},{"p":"backgroundcolor","v":"0000ff","vt":"str"},{"p":"textcolor","v":"00ff00","vt":"str"},{"p":"height","v":"8","vt":"num"}],"x":730,"y":420,"wires":[["35f9736e.42a54c"]]},{"id":"fd00c7d7.c424c8","type":"inject","z":"b9a43aed.f09838","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"12345678","payloadType":"str","x":120,"y":420,"wires":[["7e45ba41.474a04","2b8651c7.d37bbe","f3eb8c34.b244d","ee2735eb.b90de8"]]},{"id":"35f9736e.42a54c","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"110","data":"payload","dataType":"msg","x":910,"y":420,"wires":[[]]},{"id":"2b8651c7.d37bbe","type":"Barcode Generator","z":"b9a43aed.f09838","name":"CODE39","data":"payload","dataType":"msg","barcode":"code39","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[],"x":400,"y":460,"wires":[["26490e71.45fec2"]]},{"id":"26490e71.45fec2","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"140","data":"payload","dataType":"msg","x":530,"y":460,"wires":[[]]},{"id":"228c0c5f.641df4","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"145","data":"payload","dataType":"msg","x":550,"y":680,"wires":[[]]},{"id":"e2be616.cfa0ba","type":"Barcode Generator","z":"b9a43aed.f09838","name":"CODABAR","data":"payload","dataType":"msg","barcode":"rationalizedCodabar","barcodeType":"barcode","options":"options","x":690,"y":600,"wires":[["8e003545.c19278"]]},{"id":"8e003545.c19278","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"135","data":"payload","dataType":"msg","x":730,"y":640,"wires":[[]]},{"id":"b4176c0b.65f06","type":"Barcode Generator","z":"b9a43aed.f09838","name":"MAXICODE","data":"payload","dataType":"msg","barcode":"maxicode","barcodeType":"barcode","options":"options","optionsType":"msg","sendProperty":"payload","props":[],"x":510,"y":120,"wires":[["5daf8cc8.8f27d4"]]},{"id":"5daf8cc8.8f27d4","type":"image viewer","z":"b9a43aed.f09838","name":"","width":"160","data":"payload","dataType":"msg","x":550,"y":180,"wires":[[]]},{"id":"f3eb8c34.b244d","type":"change","z":"b9a43aed.f09838","name":"(01)03412345678900|(17)010200","rules":[{"t":"set","p":"payload","pt":"msg","to":"(01)03412345678900|(17)010200","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":640,"wires":[["e81f2e8c.ced39"]]},{"id":"e81f2e8c.ced39","type":"Barcode Generator","z":"b9a43aed.f09838","name":"","data":"payload","dataType":"msg","barcode":"databarstackedcomposite","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"padding","v":"3","vt":"num"},{"p":"showborder","v":"true","vt":"bool"},{"p":"backgroundcolor","v":"eeeeee","vt":"str"}],"x":370,"y":680,"wires":[["228c0c5f.641df4"]]},{"id":"ee2735eb.b90de8","type":"change","z":"b9a43aed.f09838","name":"A012345B","rules":[{"t":"set","p":"payload","pt":"msg","to":"A012345B","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":600,"wires":[["e2be616.cfa0ba"]]}]
[{"id":"dac6eec4.6027","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"","data":"payload","dataType":"msg","barcode":"datamatrix","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"backgroundcolor","v":"ffffff","vt":"str"},{"p":"padding","v":"10","vt":"num"},{"p":"alttext","v":"Alt text","vt":"str"},{"p":"showborder","v":"true","vt":"bool"},{"p":"textsize","v":"5","vt":"num"},{"p":"textyalign","v":"bottom","vt":"str"},{"p":"textcolor","v":"ff4488","vt":"str"}],"x":1810,"y":460,"wires":[["4f7af97.72ddf08"]]},{"id":"8c35bb89.840158","type":"inject","z":"19edfd5e.e96e03","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"node-red-contrib-image-tools","payloadType":"str","x":930,"y":460,"wires":[["fd2d387b.58e998"]]},{"id":"aff9e1f2.6545e","type":"inject","z":"19edfd5e.e96e03","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"01023456","payloadType":"str","x":940,"y":500,"wires":[["fd2d387b.58e998"]]},{"id":"4f7af97.72ddf08","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"160","data":"payload","dataType":"msg","active":true,"x":1870,"y":560,"wires":[[]]},{"id":"fd2d387b.58e998","type":"change","z":"19edfd5e.e96e03","name":"blue bar with padding","rules":[{"t":"set","p":"options","pt":"msg","to":"{\"barcolor\":\"0000ff\",\"rotate\":\"N\",\"showborder\":true, \"padding\": 2}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1140,"y":460,"wires":[["dac6eec4.6027","dd55a249.413d4","b4176c0b.65f06"]]},{"id":"dd55a249.413d4","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"QRCODE","data":"payload","dataType":"msg","barcode":"qrcode","barcodeType":"barcode","options":"options","optionsType":"msg","sendProperty":"payload","props":[],"x":1560,"y":480,"wires":[["3fecb23f.e8834e"]]},{"id":"3fecb23f.e8834e","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"160","data":"payload","dataType":"msg","active":true,"x":1610,"y":560,"wires":[[]]},{"id":"44664f4e.79f68","type":"change","z":"19edfd5e.e96e03","name":"red on gray","rules":[{"t":"set","p":"options","pt":"msg","to":"{\"barcolor\":\"ff0000\",\"backgroundcolor\":\"dddddd\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1110,"y":560,"wires":[["dac6eec4.6027","dd55a249.413d4","b4176c0b.65f06"]]},{"id":"3682b69a.da69ba","type":"inject","z":"19edfd5e.e96e03","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"node-red-contrib-image-tools","payloadType":"str","x":930,"y":560,"wires":[["44664f4e.79f68"]]},{"id":"68a5e435.19a34c","type":"inject","z":"19edfd5e.e96e03","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"01023456","payloadType":"str","x":940,"y":600,"wires":[["44664f4e.79f68"]]},{"id":"7e45ba41.474a04","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"CODE128","data":"payload","dataType":"msg","barcode":"code128","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"rotate","v":"L","vt":"str"},{"p":"alttext","v":"hello","vt":"str"},{"p":"showborder","v":"true","vt":"bool"},{"p":"padding","v":"1","vt":"num"},{"p":"backgroundcolor","v":"0000ff","vt":"str"},{"p":"textcolor","v":"00ff00","vt":"str"},{"p":"height","v":"8","vt":"num"}],"x":1550,"y":800,"wires":[["35f9736e.42a54c"]]},{"id":"fd00c7d7.c424c8","type":"inject","z":"19edfd5e.e96e03","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"12345678","payloadType":"str","x":940,"y":800,"wires":[["7e45ba41.474a04","2b8651c7.d37bbe","f3eb8c34.b244d","ee2735eb.b90de8"]]},{"id":"35f9736e.42a54c","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"110","data":"payload","dataType":"msg","active":true,"x":1730,"y":800,"wires":[[]]},{"id":"2b8651c7.d37bbe","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"CODE39","data":"payload","dataType":"msg","barcode":"code39","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[],"x":1220,"y":840,"wires":[["26490e71.45fec2"]]},{"id":"26490e71.45fec2","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"140","data":"payload","dataType":"msg","active":true,"x":1350,"y":840,"wires":[[]]},{"id":"228c0c5f.641df4","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"145","data":"payload","dataType":"msg","active":true,"x":1370,"y":1060,"wires":[[]]},{"id":"e2be616.cfa0ba","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"CODABAR","data":"payload","dataType":"msg","barcode":"rationalizedCodabar","barcodeType":"barcode","options":"options","x":1510,"y":980,"wires":[["8e003545.c19278"]]},{"id":"8e003545.c19278","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"135","data":"payload","dataType":"msg","active":true,"x":1550,"y":1020,"wires":[[]]},{"id":"b4176c0b.65f06","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"MAXICODE","data":"payload","dataType":"msg","barcode":"maxicode","barcodeType":"barcode","options":"options","optionsType":"msg","sendProperty":"payload","props":[],"x":1330,"y":500,"wires":[["5daf8cc8.8f27d4"]]},{"id":"5daf8cc8.8f27d4","type":"image viewer","z":"19edfd5e.e96e03","name":"","width":"160","data":"payload","dataType":"msg","active":true,"x":1370,"y":560,"wires":[[]]},{"id":"f3eb8c34.b244d","type":"change","z":"19edfd5e.e96e03","name":"(01)03412345678900|(17)010200","rules":[{"t":"set","p":"payload","pt":"msg","to":"(01)03412345678900|(17)010200","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":1020,"wires":[["e81f2e8c.ced39"]]},{"id":"e81f2e8c.ced39","type":"Barcode Generator","z":"19edfd5e.e96e03","name":"","data":"payload","dataType":"msg","barcode":"databarstackedcomposite","barcodeType":"barcode","options":"","optionsType":"ui","sendProperty":"payload","props":[{"p":"padding","v":"3","vt":"num"},{"p":"showborder","v":"true","vt":"bool"},{"p":"backgroundcolor","v":"eeeeee","vt":"str"}],"x":1190,"y":1060,"wires":[["228c0c5f.641df4"]]},{"id":"ee2735eb.b90de8","type":"change","z":"19edfd5e.e96e03","name":"A012345B","rules":[{"t":"set","p":"payload","pt":"msg","to":"A012345B","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1290,"y":980,"wires":[["e2be616.cfa0ba"]]}]

@@ -319,3 +319,2 @@

});
//console.log(`currentY=${thisParams[2]}, newY=${newY}, text="${line}"`)
if (thisResult instanceof Error) {

@@ -322,0 +321,0 @@ returnValue.result = thisResult;

{
"name": "node-red-contrib-image-tools",
"version": "2.0.0",
"description": "A dynamic Image editor node with over 40 functions, a viewer node and a 1D + 2D Barcode Generator and Decoder nodes",
"version": "2.0.1",
"description": "A dynamic image editor, image viewer, 1D/2D Barcode Generator and 1D/2D Barcode Decoder nodes",
"keywords": [

@@ -6,0 +6,0 @@ "node-red",

@@ -0,1 +1,2 @@

node-red-contrib-image-tools

@@ -20,10 +21,13 @@ ============================

### Barcode decoding...
![barcode](https://user-images.githubusercontent.com/44235289/79025486-d43b3580-7b7d-11ea-8f42-b7ad6471d00c.gif)
![barcode-decoding](https://user-images.githubusercontent.com/44235289/122010221-cd780600-cdb2-11eb-9ced-b61699808d5c.gif)
### Barcode generating...
TODO: screenshot
![barcode-generating](https://user-images.githubusercontent.com/44235289/122010342-f13b4c00-cdb2-11eb-8358-82bc79dce4e8.gif)
## FEATURES
* Built in demos.
* **In Node-RED, look under the hamburger menu → import → examples → node-red-contrib-image-tools**

@@ -161,5 +165,2 @@ * Image node

* Other...
* Built in examples.
* **In node-red, look under the hamburger menu >> import >> examples >> image tools**

@@ -189,25 +190,31 @@

Run the following command in the root directory of your Node-RED install.
### Simple
The easiest wat to install is to use the Pallet Manager in node-red.
### Install from GIT
Run the following command in the directory of your Node-RED install.
(Usually this is `~/.node-red` or `%userprofile%\.node-red`).
Install from GIT
npm install Steve-Mcl/node-red-contrib-image-tools
Install from NPM
### Install from NPM
Run the following command in the directory of your Node-RED install.
(Usually this is `~/.node-red` or `%userprofile%\.node-red`).
npm install node-red-contrib-image-tools
Alternatively, install from a folder
### Install from local directory
Run the following command in the root directory of your Node-RED install.
(Usually this is `~/.node-red` or `%userprofile%\.node-red`).
npm install c:/tempfolder/node-red-contrib-image-tools
Or simply copy the folder `node-red-contrib-image-tools` into a folder named `nodes` inside your node-red folder then `cd` into `nodes/node-red-contrib-image-tools` and execute `npm install`
## NOTES
* Tested on Node V10 & V12 only. YMMV
* Bugs are likely :)
* Tested on Node V10, V12, V14 only. YMMV
* Bugs are quite possible :)
## KNOWN ISSUES
Clicking the preview image in IE doesn't dismiss it (works in chrome)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc