Upload an image from file explorer in node-red

hi i need to create a form where i can upload an image and then with a button encode and submit the image as a msg.payload.

In the images I show an idea, any suggestions?


image