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
Comments
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. |
Thanks so much, that helps a lot. Great work! |
This appears to be broken |
It works fine for me. Did you try to run Photopea without any browser extensions? |
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. |
Could you maybe share a short video of your whole screen, so that we see what you are doing? |
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? |
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 😅 |
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. |
Yes, exactly! You can e.g. select all (Ctrl+A or Select - All) and copy pixels (Ctrl+C or Edit - Copy). |
Thanks for the help, and sorry for the hassle! Have a good day |
Hi,
in an older version of Photoshop I went the follwoingway:
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
The text was updated successfully, but these errors were encountered: