I am using node-red to implement an ap and I am racking my brains to figure out how to a buffer to uint8array (I am not sure that is that type).
The node "jimp-image" of module "node-red-contrib-image-tools" outputs an image as a buffer or a base64 string. I need to pass the responsed image into a web service which requires an uint8array base image.
Below is the output buffer format from jimp-image:
But I need the following type of buffer:
Do you have any idea how to convert the buffer to an array buffer as showed into the attached image?
Thank you very much for any support you can provide.