Advertisement


Remove transparency from semitransparent pixel


Question

When drawn with the black brush with 50% of transparency, this color (when picked by color picker) recognized as gray color (128,128,128 rgb).

How to remove transparency to get black color?

What I managed for now is:

  1. Duplicate layer until there's no transparency and then pick color
  2. (theoretically): export to gif format, then open this gif and pick color with removed transparency

Is there more convenient method to find brushed transparent color value without transparency?

I'm using photoshop7

Here's some illustration-demonstration

(source: adelavida.com)

2019/07/24
1
5
7/24/2019 10:53:00 AM

Photoshop GUI is a bit unproductive for this problem. The data is there, its just extremely hidden*. The straight color can be read though its just a bit convoluted. If you need this often for whatever purpose record following action (I need this pretty often for 3D work):

  1. Preparation Hide layers you don't want flatten for straight color.

    --Start recording--

  2. Choose Image -> Calculations

    1. Set Both Modes to merged
    2. Both channels to red
    3. Result new channel
  3. Repeat step 2 for green
  4. Repeat step 2 for blue
  5. make new layer, fill it with any solid color
  6. Copy the created channels over to Red, Green and Blue channels.

You now have a layer without alpha.

Starting point

Image 1: This is what I have as a starting point. Note: The png has alpha.

No alpha

Image 2: Alpha channel removed, note i had some slightly colored pixels in there (I wondered why it trimmed that way). Note Photoshop defaults to white. You can also clearly see the dithering Photoshop makes.

This soould work in every PS version I have ever used.

PS: If you save the alpha separately and export a unmultiplied image.

* Presumably they dont want you to work on this level of processing. As if the world would collapse if transparent pixels did have color.

2016/03/22
4
3/22/2016 7:34:00 PM