Paste Images from Clipboard?


#1

I’m very new to Electron and Javascript but I’m liking it a lot so far!

I’m trying to make a simple app that allows the user to paste an image from their clipboard.

So ideally, they would take a screenshot or use the Snipping Too in Windowsl, click in the app, and hit CTRL + V to paste in the image.

I’m sure this is possible to do but I’m a little confused what module to use. I’ve seen discussions about electron-canvas-to-buffer, clipboard, and nativeImage but I’m hoping someone can point me in the right direction for what I’m trying to do.

Thanks in advance!!