You might want to try this one Print Screen to PDF: https://marketplace.mendix.com/link/component/27069 unlike it's name the processing type you can choose to process is JPEG or PNG. So this you can then base64 encode the image.
Regards,
Ronald
I Specially need to use the JavaScript code to capture “clipboard-read” navigator event. Something like the code in screenshot attached.
We want to use clipboard-read functionality only. So that we can get image copied from any extended screen.