Skip to content

Clipboard cannot handle transparent pixels #12

@thanhph111

Description

@thanhph111

Describe the bug

The transparent pixels in images copied from website to Blender and copied from Blender to another place are in wrong color (see the recordings below).

To Reproduce

Copy from website:

  1. Copy a transparent image from website.
  2. Go to Blender and paste as a reference, paste as a plane or paste as a node.
  3. The pasted image doesn't maintain correct transparent pixels.

Copy from Blender:

  1. Open a transparent image with Image Editor.
  2. Use Image > Copy to Clipboard.
  3. Paste it to another software like Microsoft Word.
  4. The pasted image doesn't maintain correct transparent pixels.

Expected behavior

Pasted images to or from Blender must be exactly the same as the original images.

Platform

Operating System:

  • OS: Windows
  • Version: 20H2

Blender:

  • Version: 2.83, 2.93

Screencast

Copy from website Copy from Blender
1 2

Additional context

I think it is not efficient to use normal PowerShell cmdlet as it is not built to handle this, we need to use more dedicated assemblies.

Here is the transparent image to test: Image.

Metadata

Metadata

Labels

WindowsRelated to Windows platformbugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions