This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Copy layer to clipboard with transparency?

Tags: None
(comma "," separated)
okramer
Registered Member
Posts
2
Karma
0
I am trying to copy a layer to the clipboard and use it in another program, but the only way I have found to do that is to click "select all" for the image, then press ctrl+c. It copies it to the clipboard, but fill all transparency with black color. Any way to do this and keep the transparency?

Thank you
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Hi,

What's the application you are trying to paste into? I just tried this with Krita and Gimp and it worked.
okramer
Registered Member
Posts
2
Karma
0
thanks for the quick reply!

I am trying to paste it into "Stencyl", a software to make computergames. I am doing animations and being able to paste over the different frames would save me a lot of time. Somehow I can't paste into gimp at all, it says that the clipboard has no image, but I can paste into paint.net. Here it doesn't add a black background, but every pixel that has some opacity value is turned up to 100%.

Pasting from paint.net or gimp into Stencyl works fine btw, which is why I was hoping it would work in krita as well.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
I don't know that application, but in Krita a transparent pixel is an empty pixel: 0, 0, 0, 0 for the R, G, B, and A channels. That's the normal thing, and since pasting in Gimp from Krita works, I would say that it's a bug in the other applications. They need to read the Alpha channel.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]