I am trying to publish an image that generated by my steganography web. So here is the current flow.
- User choose an image for the steganography
- User input their message
- Web will generate new image that already have that message inside
<img>
tag
How can I upload this new generated image to my localhost/images/ ?
Expected behavior:
After the image is generated user will press publish button, it will create a post request and also upload the generated image to desired location.
<img src="" id="final_image" class="img-thumbnail">
I have the generated image here. and currently have to move manually by, right click > save as > desired destination.