Skip to main content
Visitor II
May 6, 2021
Solved

How to view an image (stored in an array of 40kB) by node-red-contrib-image-output

  • May 6, 2021
  • 2 replies
  • 1348 views

Is it possible to use node-red-contrib-image-output to view an image located in RAM in an array of 40kB (40960 bytes)?

Issue #1: In "variables" node only [9999:0] elements can be selected.

Issue #2: It is a need to group them into format of what node-red-contrib-image-output can consume.

    This topic has been closed for replies.
    Best answer by Richard.Chvr

    Hello @Daniel N​ 

    Even if I've never tried such a use case, it should be possible to get the image data after a while because of the buffer size. 

    A challenging tip, would be to replace the write variable node by a function or a template node that would give the write parameters

    Richard

    2 replies

    Technical Moderator
    May 24, 2021

    Hello @Daniel N​ 

    Even if I've never tried such a use case, it should be possible to get the image data after a while because of the buffer size. 

    A challenging tip, would be to replace the write variable node by a function or a template node that would give the write parameters

    Richard

    Daniel NAuthor
    Visitor II
    May 25, 2021

    Hello @Richard.Chvr (ST Employee)​ 

    If I understand you correctly, by using a function or a template node I could point to all elements of my image array in RAM - not only to that [9999:0] elements fixed somehow in a variable node?

    I can propagate the RAM address further to get a whole array, is that correct?

    Technical Moderator
    June 1, 2021

    Yes that should work even if we've never tested it. note that it may take a while.

    Daniel NAuthor
    Visitor II
    May 25, 2021

    .