Feathered selection, transparency, mask question

1) On a transparent canvas, fill a feathered selection at 100% opacity.
2) Cmd-click layer icon to load the selection (of the pixels).
3) Add its Layer Mask.
When I Enable/Disable the Layer Mask, the pixels change (the border changes).
This does not happen when a similar selection is made on a non-transparent canvas.
What is going on with the transparency and the Mask that I am missing? That is, why does Mask change the image?
Thanks,
Sonny
OS 10.5.8, PSCS4

Hi Sonny
Michael has some good insight into this.
No matter what, these topics are definitely hard to grasp and I too have struggled with how does all the transparency, selections, layer masks, alpha channels all work together (or not) and the differences between all these names and their function. My experience is how learning works for one person may do nothing for another.  Thought I would give it a shot based on my understanding.  Sorry if this is wordy yet you ask very good and tough questions.
First for the Transparency/Opacity
When you create a feathered selection and fill it over a transparent background you effectively have created a transparency mask for that layer right within the artwork.  The fuzzy edge is the transition from full 100% opacity (transparency = 0) within the red square to 0% opacity outside the square (transparency=100%).  This defines one of the two transparency masks that each level can have.  The transparency mask does not get a lot of press because a thumbnail for it does not show up anywhere.   The second mask is the Layer Mask.  The total opacity is determined by multiplying the Layer Mask with the Transparency Mask (ignoring the opacity/fill sliders and Blending Options).  The effective total opacity for the layer is seen as familiar  checkerboard pattern.
When you pressed CMD (Ctrl on PC) and clicked the artwork thumbnail, you pulled up the transparency mask up as a selection (I'll talk about the marching ants and the hard edge it portrays later on).   By copying this selection into the Layer Mask you now have effectively double masked your artwork  (Layer Mask X Transparency Mask). The transparency mask still sits within the artwork and is now duplicated as a Layer Mask.  This will make the total mask look like it has shrunk.  Why?.... Right in the middle of the transition edge of either mask you will have 50% opacity.  When you double up on the masks that same point will now have 50% x 50% = 25% opacity.  The bottom line is the the opacity edge will go through a steeper and faster transition when you have this doubling up of masks.
If that is not what you want there are several ways to avoid this
1) Just don't use a layer mask since the red object is already created with a smooth transparent edge within a transparent field (why do you want the layer mask?)
2) Create the initial selection with a hard edge, move it into a layer mask, select it and then Select>Refine Edge for the Layer Mask to create a smooth transition.
Either way you won't double up on the masks.
Selection Mask
The selection mask is its own beast and not associated with any particular layer.  Think of it as a mask that hovers over the entire layer stack and that it can be applied to whichever layer is active (highlighted).  The selection mask with its marching ants gives the impression that it has a hard edge.  This is misleading because anytime you have any feathering you are creating a mask with a gradual transition or a mask that on the edges has partial opacity/transparency.  Almost all the selection tools have the ability to do feathering.
Unfortunately tyring to represent the mask edge is problematic when it is not a sharp transition.  The marching ants just represents the point in the feathering where the partial transparency of the selection =50%.  When you have no feathering the edge is sharp and the marching ants are exactly right on top of that edge.  Other than that, the marching ants are somewhere in the middle of the edge transistion.
Clear as mud right?
Hope that helps
John Wheeler

Similar Messages

  • Why won't the Quick Select tool select transparent canvas.

    I remember being able to select anything on the canvas with my Quick Select tool in CS5.5 Photoshop Extended. Recently, making the switch to CC, the Quick Select tool will show my slection as I drag along the canvas, but once I release the mouse, the selection seems to be reduced to the visible pixels. I was intentionally trying to fill the transparent sections with my effects as well.
    Mind you, the magic wand will select transparent pixels just fine, but it also adds unintentional sections which is irritating. I should probably also pint out that I already looked into the "lock transparence" option in the layers, but I did not activate anything of the sort.

    I see how my question can be kind of vague, sorry about that.
    I have an image with a transparent background and a layer with, as stated below, pixels missing. With the wand, when I select a section of the layer that has no pixels, it selects every transparent section of that layer within the canvases borders. Thing is, I only wish to select a particular transparent section without touching the existing pixels. My hands are not as gifted as I would like them to be when painting a mask unless I zoom in ten-fold for every inch of the image.
    To clarify further, the Quick Select tool's marquee shows everything working as I would expect it to until I release the mouse button. Then, for a reason beyond me, the selection gets reduced to existing pixels in the layer only.

  • Selecting a mask

    Hi guys
    Such a basic question but I can't seem to get out of it!
    A lot of the time when making masks either with the bezier check box, and shapes, ctrl shift N, or with the pen tool, I can then select these masks easily as a whole to move them around. They have their own wireframe etc.
    Recently a lot of them don't have this wire frame, in the comp view or the layer view, so once I've made them I can't move them at all! No matter what part I click or where I click off and click again, double clicking it just brings me to the layer view, where I still can't move the mask as a whole. I can select the bezier points, but not move them?
    This is super weird?! Has anyone else experienced this? It's possibly because of adding ease and wizz and this has now baked my mask? Very odd though!
    Thanks in advance all

    That may have been what it was Kevin! (I didn't know this window even existed so thank you) I've opened up new projects since and they've been working fine straight off the bat. If I have the problem again hopefully this will fix it. Thanks very much

  • Transparency Mask not completely transparent

    I'm making a B&W gradient transparency mask for an object (like I've done 1000 times before). Except this time, it's not taking my object to complete transparency. Even at the whitest portions, it's like 20% opaque.
    I have my main object. I select it, choose "Mask Transp Mask". I then draw a rectangle around my shape and fill it with a B&W linear gradient. It should feather my main object to complete transparency, right?
    What am I missing?

    Actually I just figured out a way to fix it, not sure if as-is its a bug or not, but...
    Ray Craighead, "opacity masks" #3, 7 Mar 2008 7:42 am
    Post #3 tells you what to do.

  • How can a specific check box selection initiate addional questions to display.

    I want additional questions to display if a certain checkbox, let's say a checkbox next to "Yes" response, is selected. Different questions, or no questions might display if "No" checkbox was selected.  Is this possible? If so, how is it done?
    Thanks in advance for any help with this!

    I want additional questions to display if a certain checkbox, let's say a checkbox next to "Yes" response, is selected. Different questions, or no questions might display if "No" checkbox was selected.  Is this possible? If so, how is it done?
    Thanks in advance for any help with this!

  • How to use semi-transparent mask on external swf?

    I want to use semi-transparent mask on external swf for smooth transition. I'm using
    clip.cacheAsBitmap = true;
    mask.cacheAsBitmap = true;
    clip.setMask(mask);
    Everything works fine. But when I use
    loadMovie("http://www.url.com/movie.swf", "_root.clip");
    clip.cacheAsBitmap = true;
    mask.cacheAsBitmap = true;
    clip.setMask(mask);
    it doesn't work... what am I doing wrong?

    well if your loadMovie is on the same timeline as the code you are setting as mask, then you dont need _root.
    And sorry, I forgot there was an issue with masking the main mc that loadMovie is loading into. So what I did was put clip inside another mc and called that mc "container" so then my code would look like :
    masker.cacheAsBitmap = true;
    container.cacheAsBitmap = true;
    container.setMask(masker);
    container.clip.loadMovie("movietoload.swf");
    download the two swfs attached, and open main.swf to see.

  • Selecting color layer should select its mask

    In older versions of Photoshop (at least until CS3), clicking on a solid color, gradient or pattern layer in the layer palette selected its mask. In CS5, it doesn't select the mask anymore.
    This is inconsistent with the adjustment layer behavior, where the mask is automatically selected, and does not make sense since there is no "image" area that can be edited like normal layers.
    It's a little thing but you can't believe how many time I got the "this layer must be rasterized" dialog box since moving to CS5.

    OK. I see your point about the eyedropper. I guess I'll have to aim better.
    The double border should appear around the Fill layer icon to indicate that it is selected. That would make it consistent with normal layers.
    Personally, I would prefer if, when you click on the layer name in the Layers panel, the option that was previously selected for that layer would be selected again (layer color, layer mask or vector mask). If you want to change it, click on the appropriate icon.
    On a related note, is there a way to add a vector mask without first adding a layer mask?

  • Feathered selection + Levels = Transparency?

    Hi!  I've been trying to create a vignette on a picture by creating a circular selection, then feather it and invert it. I then use levels to darken it a bit, but as long as I've feathered the selection I get a transparent path along the selection, making me see the layer beneath. Is this a bug or am I doing something wrong. I've used this effect in regular Photoshop and there it works fine.  Thanks in advance, Ronny

    Might be a bug; I can repro.
    Steps:
    Circle Selection Tool > make a selection on the image.
    Selection settings > Feather > adjust settings > Apply
    Adjustments > Levels > play with the levels

  • Any suggestions on how to remove an "aura" from around a selection?  I shoot pictures at rodeos.  To make the rider stand out, I select and mask the rider. Next I blur the background using Gaussian Blur filter.  This results in a noticeable aura around th

    Any suggestions on how to remove an "aura" from around a selection in an image?  I shoot pictures at rodeos.  To make the rider stand out, I create a mask around the rider and then blur the background with Gaussian Blur.  This results in a noticeable blur around the outside of the selection.  I have tried using Feathering as well as other Refine Edge Tools.  The only thing that works is to go around the edge with the Clone Tool.  This is time consuming and not totally successful.  So, my two big questions are: (1) Is there a better (simpler) way to avoid the aura? and (2) If not, is there a way to remove the aura that is simpler?? 
    Thanks in Advance,
    Art Schwartz

    Sorry, what with the long title I had neglected the body of the message and your statement
    The only thing that works is to go around the edge with the Clone Tool. This is time consuming and not totally successful.
    seems to answer my first question.
    Did you do that before or after blurring?
    Have you alternatively tried using Content Aware Fill?

  • Photoshop CS6  transparent mask causing problems when saved as RGB Tiff and placed into CS5 Indesign

    Is anyone aware of a gray/black halo around feathered transparency objects. The halo occurs where the solid area of pic feathers to the transparent.
    NOTE: Image looks fine in Photoshop(CS6) but when placed as an RGB TIFF into Indesign (CS5) a black halo appears on page. See visual explanation below.
    This only happens when image is an RGB Tiff and layer mask is used to create transparency. If image is saved as .psd then it is fine. Also when RGB tiff is converted to CMYK then this is also ok.
    Is
    I look forward to anyone's suggestions.
    Ideally I could just start using psd format, but I have to handle alot of images that are already in RGB tiff and it is time consuming to have to open and re-save all of these.
    Adobe Photoshop CS5 RGB tiffs are still working fine.
    Thanks.
    Colourjam.
    (Pre-Press Production  Digital Image Operator)

    Yes the halo is does appear on the final PDF used for printing, and therefore does unfortunately print.
    Why would RGB Tiffs in Photoshop CS6 suddenly cause this to happen. If we revert back to placing Photoshop CS5 files into Indesign,  all is good.
    Also it is not just an isolated event as my colleague has the same thing happening on his workstation.
    Could it be that that Indesign 5  cannot colour manage the new CS6 RGB Tiff files? 
    CMYK tiff works well, as does PSD (CMYK and RGB)
    Also please note, that if you were trying to recreate this to see if you get the samed problem, the halo occurs as soon as you create transparency with a layer mask and feather the edge of mask, and then save as RGB tiff.  It will not be visible if you have a hard line or a vector edge.
    Just for the record here is our set up.
    Indesign CS5 (PC)
    Photoshop CS6 (PC)

  • Clipping Mask question

    Hello
    For example in illustrator CS2 I have a photo of someone and I want to make a Star shape mask of the head. No I normally select both the photo and the star shape and go to Object>Clipping Mask>Make.
    And it works fine, it masked out the bits that I don't want perfectly, but I still get the highlight/outline edge of the shape of the original photo when I select the star shape, how can I do this so that when I make a clipping mask it will not show the original shape of the photo?
    I think I've managed to do this once before in the past but forgot how I did it.
    Hope that makes sense, thank you very much in advance.

    MW,
    You may perform the otherwise dirty destructive deed:
    With the mask selected:
    1) In the Transparency palette dropdown, select Multiply, or anything else but normal;
    2) Object>Flatten Transparency.

  • WS_EX_LAYERED from bitmap uses black as transparency mask

    I'm trying to display a transparent 32bit bitmap on a WS_EX_LAYERED hwnd and set the per-pixel transparency with it, but somehow it looks that the transparency is decided by black pixels instead of the bitmap's alpha value.
    Here's the result with a black bitmap with few colored circles over it :
    Code :
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
    LPCWSTR szWindowClass = L"TransparentClass";
    WNDCLASSEX wcex = { 0 };
    wcex.cbSize = sizeof(WNDCLASSEX);
    wcex.lpfnWndProc = DefWindowProc;
    wcex.hInstance = hInstance;
    wcex.lpszClassName = szWindowClass;
    RegisterClassEx(&wcex);
    HWND hWnd = CreateWindowEx(WS_EX_LAYERED, szWindowClass, 0, WS_OVERLAPPEDWINDOW,
    CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
    HBITMAP hbmp = (HBITMAP)LoadImage(GetModuleHandle(NULL), L"C:\\Users\\Domenico\\Desktop\\mask.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
    //LPBYTE bits = (LPBYTE)hbmp;
    //int sizet = 500 * 500;
    //for (int pixel = 0; pixel != sizet; ++pixel)
    // bits[0] = bits[0] * bits[3] / 255;
    // bits[1] = bits[1] * bits[3] / 255;
    // bits[2] = bits[2] * bits[3] / 255;
    // bits += 4;
    HDC hdcScreen = GetDC(0);
    HDC hdc = CreateCompatibleDC(hdcScreen);
    ReleaseDC(0, hdcScreen);
    HBITMAP hbmpold = (HBITMAP)SelectObject(hdc, hbmp);
    POINT dcOffset = { 0, 0 };
    SIZE size = { 500, 500 };
    BLENDFUNCTION bf;
    bf.BlendOp = AC_SRC_OVER;
    bf.BlendFlags = 0;
    bf.SourceConstantAlpha = 255;
    bf.AlphaFormat = AC_SRC_ALPHA;
    UpdateLayeredWindow(hWnd, 0, 0, &size, hdc, &dcOffset, 0, &bf, ULW_ALPHA);
    SelectObject(hdc, hbmpold);
    DeleteDC(hdc);
    DeleteObject(hbmp);
    ShowWindow(hWnd, SW_SHOW);
    MSG msg;
    // Main message loop:
    while (GetMessage(&msg, NULL, 0, 0))
    TranslateMessage(&msg);
    DispatchMessage(&msg);
    return (int)msg.wParam;
    Is it this the default behaviour to check for transparency ? I need black pixels to recreate a custom shadow-like effect.
    I tried to multiply every bitmap's pixel as suggested in MDSN doc but I'm getting access violation while trying to do so.
    Last question : Is it possible to repaint the whole window with a new bitmap at runtime ? Since you have call the updatelayeredwindow function before showing the window I'm thinking it should be impossible, right ?

    I'm trying to display a transparent 32bit bitmap on a WS_EX_LAYERED hwnd and set the per-pixel transparency with it, but somehow it looks that the transparency is decided by black pixels instead of the bitmap's alpha value.
    Here's the result with a black bitmap with few colored circles over it :
    Code :
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
    LPCWSTR szWindowClass = L"TransparentClass";
    WNDCLASSEX wcex = { 0 };
    wcex.cbSize = sizeof(WNDCLASSEX);
    wcex.lpfnWndProc = DefWindowProc;
    wcex.hInstance = hInstance;
    wcex.lpszClassName = szWindowClass;
    RegisterClassEx(&wcex);
    HWND hWnd = CreateWindowEx(WS_EX_LAYERED, szWindowClass, 0, WS_OVERLAPPEDWINDOW,
    CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
    HBITMAP hbmp = (HBITMAP)LoadImage(GetModuleHandle(NULL), L"C:\\Users\\Domenico\\Desktop\\mask.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
    //LPBYTE bits = (LPBYTE)hbmp;
    //int sizet = 500 * 500;
    //for (int pixel = 0; pixel != sizet; ++pixel)
    // bits[0] = bits[0] * bits[3] / 255;
    // bits[1] = bits[1] * bits[3] / 255;
    // bits[2] = bits[2] * bits[3] / 255;
    // bits += 4;
    HDC hdcScreen = GetDC(0);
    HDC hdc = CreateCompatibleDC(hdcScreen);
    ReleaseDC(0, hdcScreen);
    HBITMAP hbmpold = (HBITMAP)SelectObject(hdc, hbmp);
    POINT dcOffset = { 0, 0 };
    SIZE size = { 500, 500 };
    BLENDFUNCTION bf;
    bf.BlendOp = AC_SRC_OVER;
    bf.BlendFlags = 0;
    bf.SourceConstantAlpha = 255;
    bf.AlphaFormat = AC_SRC_ALPHA;
    UpdateLayeredWindow(hWnd, 0, 0, &size, hdc, &dcOffset, 0, &bf, ULW_ALPHA);
    SelectObject(hdc, hbmpold);
    DeleteDC(hdc);
    DeleteObject(hbmp);
    ShowWindow(hWnd, SW_SHOW);
    MSG msg;
    // Main message loop:
    while (GetMessage(&msg, NULL, 0, 0))
    TranslateMessage(&msg);
    DispatchMessage(&msg);
    return (int)msg.wParam;
    Is it this the default behaviour to check for transparency ? I need black pixels to recreate a custom shadow-like effect.
    I tried to multiply every bitmap's pixel as suggested in MDSN doc but I'm getting access violation while trying to do so.
    Last question : Is it possible to repaint the whole window with a new bitmap at runtime ? Since you have call the updatelayeredwindow function before showing the window I'm thinking it should be impossible, right ?
    1. Transparency in BGRA (32 bpp) bitmaps is controlled by the Alpha byte. When A is 0 the pixel is completely transparent, when A is 255 the pixel is completely opaque.
    2. HBITMAP doesn't point to the pixels. Given an HBITMAP, there are APIs to get and set the pixels: GetDIBits, SetDIBits.
    3. To repaint the window, call UpdateLayeredWindow again.

  • Import image as a mask or How to use an alpha mask for transparency mask

    Hello,
    Basically I need to know how to import 1 image into another image as a mask.
    What I'm trying to do:
    I have a bunch of large images that put together make 1 very large image (ortho land images). I also have corresponding images, lets refer to them as mask images, that would mask out parts of the large ortho image I want to import it too. These mask images basically look like a PS mask. They are feathered black to white images. I need to be able to import them as a mask.
    Is there away, if so how?
    Thanks!!!!

    If the masked out areas of your image are to be black, see if this approach fits your needs and forget about creating a mask. Instead bring your "mask image" into your ortho land image using your favorite technique. Now change the blend mode of this mask image to mutiply. You should now see land wherever your mask is white, black where the mask is black and transition regions where the mask has a gray value.
    Alternatively, you can make an alpha channel if you want by turning off all layers except your "mask image", switching to the channel palette, Ctrl clicking on the rgb channel (to create a selection) and then clicking on the Save Selection as Channel icon at the bottom of the palette. You can then create a luminance mask by going back to the layer palette, selecting the layer you want to mask and click the Add LAyer Mask icon at the bottom of the palette.
    Paulo

  • Bonehead layer mask question:  CS5

    I am new to photoshop.
    I am running PS CS5 on a Macbook Pro.
    I have a document with two layers.
    The top layer is a black & white adjustment layer with mask.
    Opacity is set to 50%
    The bottom layer is a colored background layer.
    I don't know what the little square is called at the lower left of screen.
    The background part is set to white and the foreground part is set to black.
    When I select a brush and try to reveal some of the colored elements below nothing happens.
    Do I need to activate any other settings to make this happen?

    Good advice above, but one more thing (sorry for a very basic question):  Have you targeted the mask?  You have to click on it before you can paint on it.
    Just reviewing...  With your Opacity at 50% your image will still have some color, and painting black on the layer mask will hide the effects of the Black & White layer and reveal more color.
    If you're still having trouble, please capture your entire screen, save as a JPEG, and post it here using the little "camera" icon just above the edit box.  Usually people can home right in on what's wrong by seeing the various Photoshop indicators on the screen.
    -Noel

  • Another transparent image question: so sorry

    So sorry to ask a question that is asked a lot, but i cannot seem to import a transparent logo successfully. The image is transparent in photoshop. Then, no matter if i import it as a .tiff or png or .psd, a black background appears in FCP.
    I tried all the previous suggestions, but still seem to be stuck.
    Thanks so much for your help!
    Kyle

    Not sure what the previous suggestions were but try this. In the Browser, ctrl click the image and go to item properties. Under format you'll see 'alpha' near the bottom, ctrl click on this (it'll probably say none/ignore) and select 'straight'
    That should do the trick.

Maybe you are looking for

  • Text is missing in migo - excise invoice tab

    Hi, I'm doing migo with excise invoice tab option, where on the left, there are options like, capture & post, part1 only, no excise entry .etc.. In that area if i use F4 option,  i can see both the fields i.e field nbr as 01 and text as capture and p

  • Download a file from the web

    Helo, I have to download a file from the web and copy it to the file system (ex: download from http://172.26.20.22/test.csv to \\server01\teste.csv). I must do this using only pl/sql and java sources, I have to do this calling a procedure from pl/sql

  • Populate field based on other lookup field in form

    Hello, In a list item in Infopath, I have a field which looks up a location. You can select the location in a dropdown list. I want to fill another field with the manager name of the selected location. That manager name is a field in the other form a

  • Line Itemwise budgeting

    Hi Experts, Under the project definition we have assigned only one WBS for the entire project which is top level WBS, for which we have assigned for billing, planning and account assignment also. While doing the budgeting we are maintaining the budge

  • Accidentally deleted itunes folder.

    in my zeal to create more space on my laptop i deleted my itunes folder thinking I had everything backed up. Then I remembered that 2 nights ago i bought 2 albums from itunes. does anyone know of a good recovery program that would help me get them ba