[Announce] node-red-contrib-image-tools - updated v1.3.1

It should. Could you do me a favour. Capture the data from mqtt and put in in an inject (or separate file) and send me your flow?

I won't have time at the moment but I'd like to see what's going on.

Ta.

Edit...

Post it as an issue if you don't mind.

1 Like

Copy of it here
https://pastebin.com/7dtSC4JF

Hi all,

significant updates to node-red-contrib-image-tools

Many fixes and improvements (and latest + greatest version of Jimp / zxing) but in particular the barcode decoding now supports may more formats...

Demo...

Unfortunately, this is a breaking change - so anyone using the old "2D Barcode Decode" node - please read below...

IMPORTANT - Breaking changes in V1


Version 1 has breaking change ~ vs ~ V0.x versions.

Existing flows using the "2D Barcode Decode" node will need to be modified. The easy way of fixing this is to delete any "2D Barchode Decode" & deploy, then update the node, then re-add the new "Barcode Decode" nodes.

Alternatively, you can avoid this issue by performing the following steps...

  1. Upgrade node-red-contrib-image-tools

  2. Stop node-red

  3. Make a bakup of your flow.json file

  4. Opening your flow.json file in a text editor

  5. Search / replace all instances of "type":"2D Barcode Decoder" with "type":"Barcode Decoder"

  6. Save and close your flow file

  7. Start node-red

sorry folks but I have to break eggs to make the omelette.

4 Likes

Another update. Added UI options to the Barcode Decoder node to simplify user operation

This serves as both a visual clue (of supported formats) and simplifies operation.

Other updates...

  • dont throw error when barcode not found
  • better visual clues (improved node status)
  • documentation update
  • better defaults (faster barcode decoding)
1 Like

Version bump V1.3.1

  • Adds multiline text printing (something not native to Jimp)
  • Updated examples
  • Updated help info

3 Likes

This is really nice. I installed it and it worked right away!
Is it possible to display the image on the Dashboard group?

Thanks,

Stonez56

Yes.

See this post as an example...

It worked like a charm!
Thanks for this great contribution!

Stonez56