0

I have tried to use clipboard.writeImage() to write a nativeImage with transparency into clipboard. But after I paste the image, its transparent part turns into black. So how can I write the image correctly?

Environment: Windows 10, Node v8.11.3, Electron 2.0.2

Gold IMax
  • 1
  • 1

1 Answers1

0

This is not Electron bug. Windows clipboard, by default, does not support transparency.

Copying From and To Clipboard loses image transparency