ImagePaste
ImagePaste copied to clipboard
BUG: Missing `DIB` support on Windows
Describe the bug
After implementing #22, the Bitmap and PNG data types have been supported, allowing multiple software to paste transparent images. However, some softwares need the DeviceIndependentBitmap to read. One of them is Discord, we should support them too. This issue continues the #12.
| Pasted from Blender | Pasted from Chrome |
|---|---|
![]() |
![]() |
Step to reproduce
- Open a transparent image in the Image Editor. Here is an example.
- Use Ctrl+Shift+C or Image|Copy to Clipboard to copy the image.
- Paste them in Discord or any software that uses
DIB.
Relevant log output
No response
Expected behavior
DeviceIndependentBitmap should be in the clipboard after copying from Blender.
Platform
Windows
Platform version
20H2
Blender version
2.83, 2.90, 2.91, 2.92, 2.93, 3.0
This is not possible unless we use some external module to convert images to an alpha-supporting bitmap because blender does not support alpha in bitmaps and can't export such image to copy to clipboard.

