Is there a graphical way to get an RGBA value from a pixel in an image?

1

Is there a free way possible to open an image in a PC environment, click on the image, and obtain the RGBA value on the pixel that you clicked? I'm looking for a way to do this in a PC Windows environment.

Edit: This question asks specifically about RGBA, which is not addressed at the marked duplicate Best way to pick a color from an Image. I don't believe any of the answers there have a way to obtain an alpha value. (RGBA as opposed to RGB).

Chance

Posted 2017-04-05T16:28:57.930

Reputation: 124

Is this for web design? Most references online discuss RGBA only in context of web design where the alpha channel is for opacity. I'd guess at the OS level this would be an interesting application as it would need to be able to tell which layers each rendered pixel contains and which applications each layer originates from and then allow you to choose the application/layer you wish to retrieve the alpha value from. – music2myear – 2017-04-05T22:02:31.003

@music2myear No, it's basically rendering a bitmap provided to me. If something doesn't look right, I'd like to check transparency. – Chance – 2017-04-05T22:49:20.510

Answers

4

GIMP can do this. Using the color picker tool you can select the color in question while pressing shift. It will give you the RGB but if you look below it also contains the Alpha data. RGBA example

Jesse

Posted 2017-04-05T16:28:57.930

Reputation: 179

I had used this before, but it looks like I need to add an alpha layer to the image first, so I didn't see the alpha previously. – Chance – 2017-04-06T13:53:08.127