Alpha value of pixel

N
Posted By
no
Dec 11, 2008
Views
338
Replies
2
Status
Closed
Hi
How would i go about picking/viewing the alpha value of a pixel in photoshop cs4? Hope it makes sense.

Thanks
Mike

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

MR
Mike Russell
Dec 11, 2008
On Thu, 11 Dec 2008 16:49:27 +0100, Mike wrote:
….
How would i go about picking/viewing the alpha value of a pixel in photoshop cs4? Hope it makes sense.
….
The easiest way to manipulate the transparency of an image is to alt-double click the layer to change it to a normal layer,and use a layer mask. You can alt click on the layer mask and treat it as you would a normal image.

If you have existing images that you need to deal with, that use Photoshop’s layer transparency feature, things are little more problematic. Photoshop does not provide direct access to the transparency of a pixel. There is at least one plugin – alas the name escapes me – that does provide access to the per layer transparency information.

One way to calculate this is to copy the layer in question to a new document with a black background, lock transparency in the layer palette, and fill the layer with white. The info palette will then give a direct alpha value, 0-255, of the corresponding location on the original image.

Likewise, there is no direct way to set the transparency of a pixel, though you can change the transparency of a layer via the layer mask slider. To set the transparency of a layer that may contain partly transparent pixels, to a constant value, paste it to a layer that has been locked to the appropriate transparency.

If you set the transparency to zero, the pixel data will be lost. Photoshop will automatically set the pixel’s color values to zero. —
Mike Russell – http://www.curvemeister.com
N
no
Dec 12, 2008
Mike Russell wrote:
On Thu, 11 Dec 2008 16:49:27 +0100, Mike wrote:

How would i go about picking/viewing the alpha value of a pixel in photoshop cs4? Hope it makes sense.

The easiest way to manipulate the transparency of an image is to alt-double click the layer to change it to a normal layer,and use a layer mask. You can alt click on the layer mask and treat it as you would a normal image.
If you have existing images that you need to deal with, that use Photoshop’s layer transparency feature, things are little more problematic. Photoshop does not provide direct access to the transparency of a pixel. There is at least one plugin – alas the name escapes me – that does provide access to the per layer transparency information.

One way to calculate this is to copy the layer in question to a new document with a black background, lock transparency in the layer palette, and fill the layer with white. The info palette will then give a direct alpha value, 0-255, of the corresponding location on the original image.
Likewise, there is no direct way to set the transparency of a pixel, though you can change the transparency of a layer via the layer mask slider. To set the transparency of a layer that may contain partly transparent pixels, to a constant value, paste it to a layer that has been locked to the appropriate transparency.

If you set the transparency to zero, the pixel data will be lost. Photoshop will automatically set the pixel’s color values to zero.

Thank you that was very helpful.

Mike

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections