What i have
I have base64 string image at client-side.
let imageBase64 = "data:image/jpeg;base64,/9j/7gAhQWRvYmUAZEAAAAABA..."
What user will do
User will click to a button in website.
What i want to happen
Send image data to user's clipboard. User should be able to paste it to Photoshop, Illustrator, Discord, etc.
Pseudocode
let imageData = convertBase64ToImageData(imagebase64)
sendToClipboard(imageData)