I am using the TUI Image editor API version.
https://nhn.github.io/tui.image-editor/latest/tutorial-example02-useApiDirect
In this tool, we have an option named "Mask" where the user can select an image, and that image is displayed onto a canvas, its functionality is working fine.
Now I want to create another button like <button id="loadImg"></button>
and by clicking on this button the MAsk file uploader should load this image file to Canvas:
"https://editor.studysciences.com/img/shade1.png"
I don't want to browse it and then select the file. How to perform this using javascript?