node-red-contrib-image-output
这个node可以直接在NR里预览图片,在调试涉及图片的流程时非常方便。
本地和外网的图都能使用,只要传入二进制缓冲模块就好。
再点击一下图片,图片就会消失。
{"id":"3e750a66.8eb696","type":"http request","z":"4a9555bf.561e5c","name":"","method":"GET","ret":"bin","url":"http://wx2.sinaimg.cn/mw690/ac38503ely1fesz8m0ov6j20qo140dix.jpg","tls":"","x":360,"y":2020,"wires":"1829a782.34e0b8"]]},{"id":"1829a782.34e0b8","type":"image","z":"4a9555bf.561e5c","name":"","width":160,"x":540,"y":2020,"wires":]},{"id":"5cb57529.2c889c","type":"inject","z":"4a9555bf.561e5c","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":2020,"wires":"3e750a66.8eb696"]]}]