Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to paste selection copied to clipboard into a raster mask #765

Closed
k-risc opened this issue Jun 19, 2018 · 12 comments
Closed

Comments

@k-risc
Copy link

k-risc commented Jun 19, 2018

Hi,

in an older version of Photoshop I went the follwoingway:

  • add a raster layer to an existing layer (reveal all)
  • select some part of some image and copy it to the clipboard
  • Alt+Click (on Windows) on the mask
  • Paste the contents of the clipboard into the mask

That way the image that was copied to the clipboard now changes the alpha transparency of that layer.

In Photopea I didn't find a way to select the mask itself so I could paste into it. Clicking on the mask gives it a dashed border, but the pasting pasts the contents of the clipboard as an entirely new layer nevertheless.

Maybe it is something that is not (yet) available in Photopea.

Any clue would be very appreciated.

Best

Christian

@photopea
Copy link
Owner

Hi, the "mask view" (what you see in Photoshop by Alt-clicking the mask thumbnail) is not available in Photopea yet.

I implemented the following behaviour: if you paste pixel data when the layer is selected, it is still inserted as a new layer. But if the mask is selected, it it inserted into the mask.

@k-risc
Copy link
Author

k-risc commented Jun 23, 2018

Thanks so much, that helps a lot. Great work!

@RosyArts
Copy link

RosyArts commented Jan 6, 2024

This appears to be broken

@photopea
Copy link
Owner

photopea commented Jan 7, 2024

It works fine for me. Did you try to run Photopea without any browser extensions?

@RosyArts
Copy link

RosyArts commented Jan 7, 2024

Yes, I have now tried it on Microsoft Edge (which I never use, so no extensions) and I am able to alt-click into the mask but when I try to paste into the mask it instead creates a new layer and pastes normally.

@photopea
Copy link
Owner

photopea commented Jan 7, 2024

Could you maybe share a short video of your whole screen, so that we see what you are doing?

@RosyArts
Copy link

RosyArts commented Jan 7, 2024

Sure!
Video

@photopea
Copy link
Owner

photopea commented Jan 7, 2024

That is really strange. Could you click the raster mask thumbnail before pressing Ctrl+V? Also, what if you try it in the incognito mode?

@RosyArts
Copy link

RosyArts commented Jan 7, 2024

I'm quite confused now as it suddenly works as usual now. It must have been something on my end - strange that it persisted even through a power cycle though. Sorry to have wasted some of your time 😅

@RosyArts
Copy link

RosyArts commented Jan 7, 2024

Oh - I have found what I did wrong! I was copying the layer itself, but it seems that Photopea wants me to copy the pixels of the layer.

@photopea
Copy link
Owner

photopea commented Jan 7, 2024

Yes, exactly! You can e.g. select all (Ctrl+A or Select - All) and copy pixels (Ctrl+C or Edit - Copy).

@RosyArts
Copy link

RosyArts commented Jan 7, 2024

Thanks for the help, and sorry for the hassle! Have a good day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants