I'm working with images that must have transpaency for certain parts. Here is my flow:
- Open an image
- Turn background to a layer
- Duplicate layer
- Remove background on top layer
- Set bottom layer to 0% opacity (so 100% transparent)
The result should be that when I do the eyedropper on a part of the image that is 100% transparent, I should get the RBG channels for the color, but it should just be transparent. The eyedropper doesn't detect any color.
I also have the problem that if I save the image as PNG, preserving transparency, all the RBG information is lost and the transparent pixels are just set to #FFFFFFFF (so 100% transparent white). The only way I can preserve the RBG information is to set the opacity of the bottom layer to 1%. Of course, that means there is a shadow of the background everywhere in the image.
Can someone explain why Photoshop is doing this? How can I get it to preserve the RBG information no matter the alpha channel (opacity)? This feels very much like a bug, but hopefully there is just a setting somewhere that I can adjust.
I'm doing this via a script, but even when doing it by hand, I get the same result.