(CC) Save all Layer Masks as Alpha Channels

Hello,
I've looked everywhere and can't seem to find a script to do this. I am looking for a script to simply check every layer for a layer mask and if there is one, save it as an alpha channel. The layers may or may not be in groups. No need to delete the masks, just save them as alpha channels. I have a lot of images with a lot of masks and it's a pain trying to save them manually! I thought this would be pretty easy but from what I've been reading this might be a little over my head. I would really appreciate any assistance!
Thank you in advance,
Danny

Any such script would fail with a error once it tried to exceed Photoshop 53 Alpha Channel limit.  If a document had 53 alpha channels to begin with the script would fail saving the first alpha channel it would try to save.  I know this for a have a script that tries to create my kind of collage template PSD files that has no Image layers but has alpha channels to map the locations where images will be populated.  I had to program the script to catch that there were more the 53 prototype image layers.
IMO with the exception of the background layer all layers have Alpha Channel its actual pixel map. This invisible Alpha channel maps the layers actual pixels locations and is used in conjunction with any enable layer masks when pixels are rendered for the layer.  What I was trying to do was to create a collage template that had Alpha channel to map the locations of where Image would be placed. . I would open a document the size and resolution I wanted the collage to have. Then add an empty layer the use a selection tool to make a 4"x6" selection and fill with pixels..  Duplcate that layer for as many image I wanted. And I would position the layer where I want the image to be located.  I would then  run the script.  It would save Alpha channels for each image location and at the end flatten the layer image prototype stack to stamp the image locations onto the required background layer.  Once I reached 54 image layers  the script failed and I realized that my Collage Scripts and templates were limited to a maximum of 53 images.

Similar Messages

  • How to save a layer as an alpha channel?

    Is there a way to save a layer as an alpha channel? So later i can use it as a slection?

    I dont know it will help you out or not, still sharing the instructions from where I get the idea of saving the layer here. Hope you will find it helpful.
    Make the Channels panel the active panel.
    Alt + click (Option + click) the Create New Channel icon at the bottom of the Channels panel.
    In the New Channel dialog box, type a relevant name.
    If most of the image is to be masked (not selected), click the Masked Areas radio button.  If most of the image is to be selected, click the Selected Areas radio button.
    If desired, click the Color box to change the overlay color.
    Leave Opacity 50%, unless you desire otherwise.
    Click OK.
    The document window will be filled with either solid black if Masked Areas was chosen or solid white if Selected Areas was chosen.
    Make the composite color channel active by clicking in the visibility area and displaying its eye icon .
    If Masked Areas was chosen...
    The document window will show the image covered by the overlay color.
    Type the letter d to make the foreground and background colors the default black and white .
    If white is not the foreground color, type the letter x until white is the foreground color .
    Type the letter b to make the Brush tool the active tool.
    Using a brush size and softness of your choice, paint in the document window.  Wherever you paint with white paint, the mask will be erased.  Any part of the image not covered by the overlay color is being selected.  Painting with gray paint will partially select an area.
    If Selected Areas was chosen...
    The document window will show the image normally.
    Type the letter d to make the foreground and background colors the default black and white ..
    If black is not the foreground color, type the letter x until black is the foreground color.
    Type the letter b to make the Brush tool the active tool.
    Using a brush size and softness of your choice, paint in the document window.  Wherever you paint with black paint, the image will be covered by the overlay color.  Any part of the image covered with the overlay color is being masked, or de-selected.  Painting with gray paint will partially de-select an area.
    Repeat steps 2 through 11 as many times as needed to create individual custom selections.
    When finished, turn off the visibility of the alpha channel by clicking the alpha channel's eye icon .
    Make the Layers panel the active panel by clicking the Layers tab.
    When the file is next saved, the alpha channel(s) will also be saved.

  • Can someone point me to a tutorial on image masking and alpha channels?

    Can someone point me to a tutorial on image masking and alpha channels?
    Goal is to make a picture in a picture frame become a moving image.
    I am trying now to figure out how to make a hole in a video by subtracting a 16x9 sized rectangle.
    Thanks.

    hi
    depending on how complicated your shot is, you may be able to get away with simply placing the image within the frame on top of the background shot. Then resize down to fit. You may then need to tweak its corners using the corner pin tool to get it to sit in the right perspective plane. You may find you need to soften the edges of the top layer image so its not so sharp and hard. For this you probably would need to add a mask and soften its edges. Then you might need to add some noise and/or colour correction to make it sit naturally with the background image. and finally if there are any shadows cast over the picture frame you will need to add them back over the new image. You can use a black shape, with its opacity cranked down with a blur filter on it.
    The manual describes all of these process pretty well.
    hth
    adam

  • Using the output of one layer as an alpha channel for another

    I was messing around last night trying to create my own sharpen edges filter.  I duplicated a nested layer, applied find edges to the top one, then used the track matte filter on the one below, set the layer above as the target for the effect, and chose luma. Could not get it to work.  I then attempted to make the layer above have alpha by using an luma key and changed the track matte to use alpha, but that didn't work either.
    Is there a way to do this?

    Be easier to understand if you showed what you are trying to achieve.
    I got lost half way thru 2nd sentence.

  • Merge 2 files for masking with alpha channels

    Dear all,
    I have like hundreds of files. Each file has it's own "sister black&white file" which is ment to be used as a mask.
    I was wondering if it is possible to automaticly merge those 2 files so we would end up with a masked image..png or whatever....
    It would be a monster job to do it all by hand...
    Maybe a a script or badge???
    kind regards,

    I adapated the orignal script - and ended up with a png but....with a jpg extension..
    that's a little stupid.
    I am not able to find how to correct this...
    My adaptions in red...please help
    //add alpha to doc by X
    function cTID(s) { return app.charIDToTypeID(s); };
    function sTID(s) { return app.stringIDToTypeID(s); };
    function main() {
      var folder = Folder.selectDialog();
      if (!folder) {
        return;
      var ofolder = new Folder(folder + "/Converted");
      ofolder.create();
      var saveOpts = new ExportOptionsSaveForWeb();
      saveOpts.format = SaveDocumentType.PNG;
      saveOpts.PNG8 = false;
      saveOpts.transparency = true;
      var pngs = folder.getFiles('*.jpg');
      for (var i = 0; i < pngs.length; i++) {
        var file = pngs[i];
        var afile = new File(folder + '/' + file.name.replace('.jpg', 'a.jpg'));
        if (!afile.exists) {
          continue;
        var doc = app.open(file);
        doc.activeLayer.isBackgroundLayer = false;
        var adoc = app.open(afile);
        adoc.selection.selectAll();
        adoc.selection.copy();
        adoc.close(SaveOptions.DONOTSAVECHANGES);
        createLayerMask();
        selectMaskChannel();
        doc.paste();
        var ofile = new File(ofolder + '/' + file.name);
        ofile.remove();
        doc.exportDocument(ofile, ExportType.SAVEFORWEB, saveOpts);
        doc.close(SaveOptions.DONOTSAVECHANGES);
    function createLayerMask() {
        var desc9 = new ActionDescriptor();
        desc9.putClass( cTID('Nw  '), cTID('Chnl') );
            var ref6 = new ActionReference();
            ref6.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Msk ') );
        desc9.putReference( cTID('At  '), ref6 );
        desc9.putEnumerated( cTID('Usng'), cTID('UsrM'), cTID('RvlA') );
        executeAction( cTID('Mk  '), desc9, DialogModes.NO );
    function selectMaskChannel() {
        var desc26 = new ActionDescriptor();
            var ref18 = new ActionReference();
            ref18.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Msk ') );
            ref18.putEnumerated(cTID('Lyr '), cTID('Ordn'), cTID('Trgt'));
        desc26.putReference( cTID('null'), ref18 );
        desc26.putBoolean( cTID('MkVs'), true );
        executeAction( cTID('slct'), desc26, DialogModes.NO );
    main();

  • Photoshop TIFFs with layer masks do not display correctly

    I am sure other people must have this problem, but I cannot find any related posts so here goes:
    I open an image using the "open in external editor" command (typically a RAW file converted to a TIFF), edit in Photoshop and save the file (as a TIFF, I do not use PSD format)
    If the PS edit contains any layer masks or alpha channels (masks in the channel pallet) it does not display correctly when it reappears in Aperture. Only the top most mask will display, assuming I have multiple layer masks in the PS edit.
    Not only will the TIFF only appear as the mask in Aperture, but Aperture will print or email the mask, not the PS edited file as it should appear.
    It seems that Aperture only recognizes the layer mask (or alpha channel mask) as the image, and all the other layers etc are disregarded.
    Is this a confirmed bug, or is there some setting I have not correctly configured or some other issue?
    I love Aperture, but this problem is nearly a deal-breaker for my workflow, and would be for any serious photoshop user, I would imagine!
    I cannot believe this is still a problem in version 1.5, which is the version I am using (thus my system is 10.4.8)

    David,
    I assume you mean in the edited PS TIFF file:
    In different cases I have either:
    A. A TIFF file with layer a layer mask
    B. A TIFF file with multiple layer masks
    C. A TIFF file with an alpha channel mask
    D. A TIFF file with multiple alpha channel masks
    E. A TIFF file with any combination of the above
    the outcome is the same, they all do not display correctly in Aperture. It does not seem to matter if the file was opened in PS from Aperture via the open with external editor command or if it was worked on outside Aperture entirely then imported. I do have maximize compatibility in PS checked (though I understand this is only for PSD files, though perhaps I am wrong here)
    any thoughts?

  • Minumum sufficient commands to create PSD containing transparent alpha channel

    I was recently typesetting some leaflets in InDesign under time pressure. I had a JPG file with a white background and wanted to create a PSD from it in Photoshop CS5 with an alpha channel making the background transparent.
    I managed this in the end by blundering around, but the help file is no help, and the obvious way of creating a layer mask doesn't work.
    I'd like to know the minimum sufficient command sequence to do it.
    Suppose we've got this in Photoshop, with the bit we want already selected:
    Double clicking the background layer and then clicking ADD LAYER MASK looks good, but it doesn't create an alpha channel. It actually creates a channel named "Layer 0 mask" but if you save it in a PSD and then import into InDesign it is not transparent.
    There doesn't seem to be a "convert layer mask to alpha channel" command. Nor a "make alpha channel from selection" command.
    There is a button at the bottom of the CHANNELS tab that's named "create new channel" and if you click it when a selection is active it does create a new layer named "Alpha 1", but unfortunately it is not the wanted mask but rather just the path of the marching ants.

    Yes, this does work. Don't know why it didn't for me yesterday.
    There's no need to delete the background because in my example, after unlocking the padlock and adding layer mask, there's only one layer there. It does create, as I said above, an additional channel named "Layer 0 mask" which is what one would want as an alpha channel.
    If I SAVE AS PSD, the box to include LAYERS is ticked and the box to include ALPHA CHANNEL is greyed out, but InDesign still treats it as transparent.
    If I take the selection and SAVE SELECTION AS NEW CHANNEL, it creates a second channel looking exactly like the "Layer 0 mask" one above, but if I then SAVE AS PSD the box to include ALPHA CHANNEL is ticked. So the channel created by ADD LAYER MASK is of a different ilk than the one created by SAVE SELECTION AS NEW CHANNEL, although this is not apparent from the CHANNELS tab. Slightly confusing.

  • Cannot save alpha channel as PNG. need help.

    Hi, I am running PS CS5. I am working on my business logo and love the way it has turned out with a texture I added as a new channel (alpha channel). I am using a transparent background on my image, the only compatible way to save is PNG format.(and this is the only way to go with my website restrictions) So when I go to save as a PNG it isnt saving the new channel I have made. Is there any way around this? Any suggestions would be very helpful. I worked all day on this logo only to find that I cant save it the way I like it. frustrating..................
    Linz

    Ok, maybe this will help matters. In the beginning I did a google search on how to get the "distressed" look on my logo, this is the link I found, I did all that he said and did acquire the look I want, now I am having trouble saving as a PNG. When I choose to save as a PNG the alpha channel does not save (when I open the saved PNG file the alpha channel is unchecked). I dont know a whole lot about PS, I am new and dont understand alot of the lingo that alot of you are using, but maybe if you see the steps I took on this link then possibly someone may be able to help me. Thanks
    http://www.promotinggroup.com/design-tips/distressed-effect-photoshop/

  • Keys in CS-5 - Save Alpha Channel AVI

    Hello. I go shoot keys with green screen. On Location is good for some of that, but I have to remember to adjust the sound level next time. To show kids who did the scripts, I used the CS3 Ultra to quick ket a sample and dump on a background like we plan to use.
    When I get into Premiere CS-5 I want to pick the take I like, trim the ends, key to transparent and save as an AVI with alpha channel. Liked the Ultra keyer when it was separate, but not sure about CS5 one, as controls were better organized in the CS3 version **.
    1) Do I need to set up a line on timeline as alpha channel, in order to save same? If so which one?  These are just keyed person with clear BK.
    2) Please help me with the settings so someone who makes the final steps, I think in another program, can open up the AVI files and have a good key to finish off. So far I haven't found one that will let me tick alpha channel to save.
    **Yes i should find the Premiere fix list and ask for an ULTRA pop up of the CS3 design, if they are going to keep in Premiere.
    3    PS)  Does Adobe have a set of books for the CS5 programs? When i got CS3 they offered me a deal to take the books. Saved me many times to be able to flip pages to find answers. Even a PDF of same might speed things along.

    Look here for the steps to export an AVI with alpha: exporting video with an alpha channel (transparency)
    I don't think you'll ever see Ultra as a standalone program again, as it's now integrated into Premiere Pro as an effect. I never used Ultra CS3, as I thought it was too rinky-dink, but the CS5 version is quite nice and easy-to-use (and get a great key) in most instances. It's not bulletproof, but Keylight in AE takes care of the more troublesome keys.
    You can download a PDF of the help document for a particular application by going to the online version of the help docs, and clicking the PDF link in the upper-right corner. You can get Premiere Pro CS5's PDF right here: Adobe Premiere Pro CS5
    You should also have the Community Help application installed along with the CS5 suite. If it doesn't open when you hit F1 within your app of choice, it should be available in the suite's application folder. It works well, and the help is updated frequently.

  • How can layer masks be saved seperately to be re-used on other photos?

    I was looking at an an album design program that uses Photoshop as its base, and noticed that it pops up a selection of masks in a window below the photo ...something like mini-bridge, and there you can select different styles and masks etc to apply to the image being edited.
    I thought that is pretty neat because some of the masks could be quite universal, so I tried creating one and saving it seperately but got nowhere.
    I then created one, took a screenshot of it and saved it as a jpg, then opened that, selected all, and tried to paste it into a mask ...and again no go.
    So ...how do they do that?
    jj

    You can copy layer from one document to an other and the layer can contain a layer mask.  You can also save a layer mask as an alpha channel and you can copy a channel from one document to another and use the channel as a layer mask. You need to be careful copying between documents. It woks best when both documents have the same resolutions.
    Albums are usually done in Photoshop with the use of PSD templates design for pages in an album with different page layouts however all pages are the same size and resolution.  Image are populated into the templates.  Layer mask and layer styles are often use in the templates.  Photoshop automation may also be used to aid the process.
    Photo Collage Toolkit UPDATED Made Rotate for Best Fit an option in PasteImageRoll.jsx Edit to customize your default settings.
    Photoshop scripting is powerful and I believe this package demonstrates this.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    Size the photo collage templates for the print size you want - width, height and print DPI resolution.
    Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
    Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
    Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.
    There are twelve scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.
    Documentation and Examples

  • Better Alpha channel handling

    I've asked for this a lot: alpha channel saving with PS is terrible, and could use an update. And today, I was embarrassed by a bug that caused our game engine to perform poorly as a result of the way Photoshop handles the alpha channel.
    The bug: make a 1024x1024 canvas, give it an opaque alpha channel (100% white, every pixel), then Image Size it down to something smaller, like 128x128. Now look at your alpha channel: grey pixels all along the border. ARRGGGHHH!!!1!1! It interpolated, I'm sure, using black alpha outside the canvas that doesn't actually exist, changing, in a powerful, fundamental way, the nature of the alpha channel. Video cards care about this stuff: 99.9% opaque is not 100% opaque. This is terrible.
    The request: That PS intelligently offer better defaults when saving an image with an alpha. Right now, it offers, "What was the last bit depth you saved an image to?" Regardless of the fact that the previous image may have no relationship to the following image being saved, the default offering is always "what I did last time". This enables very easy pruning of alpha channels that should be there, or adding opaque alpha channels that shouldn't be there, bloating the file size.
    I'd like PS to determine if an alpha channel is present, and base its default choice on that. If one is present, default to 32-bits. If an alpha channel si not present, default to 24-bits. That easy.
    If multiple alpha channels are present, I'd like a dropdown menu to pick which one I want. Right now, if you save a PSD with multiple alpha channels to a 32-bit TGA, it throws all alpha channels away, and saves the image with a solidly opaque alpha channel, the choice no one asked for.
    For texture work, or works where the graphics card is the destination, not the printed page, this cavalier handling of alpha channels is definitely not sustainable.
    I'd love to never have to ask for this again.

    Generally speaking the resize of an image on a layer in which the canvas is exactly the size of the data will result in transparency peeking in around the edge (i.e., I'm agreeing with you here, just using Photoshop terms).  I've always thought this was kind of poorly thought-out too.  As you say, the algorithm must default to using 0 vs., say, replicating (or "clamping") to the alpha of the pixels right on the edge.
    I suppose theoretically, the thinking is that if you were to EXPAND the canvas, the area around the image would be transparent anyway, and a subsequent resampling would then have the same result as the above.
    Knowing this, one way to work around the problem would be to create a slightly larger image, then Canvas Size it down to your intended resolution.  That way there's layer data beyond the edges with which the resizing algorithm can work.  I realize that's probably not a practical solution in general, but a trick to keep up your sleeve if you really do need that 128 x 128 image with alpha solid to the edge.
    -Noel

  • Tiff files with Alpha Channels do not display or print correctly...

    I have Tiff files that have been edited in Photoshop that do not display correctly. As far as I can tell this is caused by the existence of Alpha channels in the channels panel in PS. When the files are imported to Aperture, they only display information from either the alpha channel or a layer using that alpha channel as a mask.
    If this is true, what are people doing about it. This cant be acceptable???
    Are there any work arounds and is apple addressing this problem?
    Can anyone else confirm this?
    I am using Aperture 1.1.2, OS 10.4.7 and PS CS. on a Dual 2GHz Power PC G5 with 4.5 GB RAM
    Please note, these are NOT .psd files. I have read and am aware of some psd compatibility issues, and have checked the maximize compatibility in PS.
    -Sol

    Thank you for your response, I am trying to figure out what to do differently when we re-create the PDF so we don't have font issues when we combine. I don't want to keep recreating the problem, I am looking for a solution. Why does this happen? What settings do I tell other to apply on their Acrobat? Is the a font issue in Adobe? I found this on a Google search on the internet and can't seem to get it to work on XI PRO.
      Embedding fonts into Acrobat 9 through Distiller:
    Launch Acrobat.
    Choose Advanced > Print Production > Acrobat Distiller.
    Select Standard in Default settings.
    Go to Settings and select Edit Adobe PDF Settings.
    Select Fonts and in the font source window select the fonts you want to Add.
    Click Save As and then OK.

  • Need a script to make layers from alpha channels

    Hello,
    I author interior room scenes with Scene7 Image Authoring Tool. In my S7 image document, I have to make a lot of individual  masks to define transparent regions that will, at a later point, render products, such as flooring, tiles, paint or carpet. The masks are all named descriptively, such as floor, counter, wall, etc. I then have to export the image as a Photoshop document. At this point my PS doc can have anywhere from 5-15 alpha channels.
    I'd like to have a script that would do the following in PS:
    1. Make a new layer for each alpha channel; for example: if there are 5 a.c., then I need 5 new layers.
    2. Fill the layer with 65% gray.
    3. I need each a.c. to get applied to each layer as a mask.
    4. Take the name of the a.c. and apply it to the layer. example: if an a.c. is called Floor, then I need the layer to be called Floor, etc.
    If anyone has an idea on how to do this, I would be grateful. Right now I have to do this manually so it would be very helpful to automate this process.

    This is a professional forum, we do not help with jokes that will cost you your job.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Photoshop CS6 using javaScript to truncate alpha channel name

    Hello,
    I'm a production artist and I work with PSD files that were created in Adobe Scene7 Image Authoring Tool. These PSDs contain a background layer along with 1-20 alpha channels. My script has to make a new blank layer for every alpha channel in the document. Then it fills the new layer with light gray. So far, my code accomplishes this. However, I'd like to apply the name of the alpha channel to the layer, but I need the name to be truncated. Every alpha channel starts with one or more characters followed by a backslash and then finishes with one or more characters. Here's an example:
    An alpha channel might be named:  Floor\floor
    In this example I need my layer name to be just:  floor. This means all character to the left of the backslash, including the backslash itself needs to be discarded. I was using the subSring() statement to do this. When I try to step through the code, line by line in ExtendScript, I immediately get an error that says Unterminated String Constant and Line 31 of my code is highlighted. I suspect it doesn't like the way I wrote the backslash character, although I surrounded it in double quotes to define it as a string.
    Can anyone tell me why I'm getting this error?
    Below is my code with lots of comments to walk you through the process. I wrote where the error occurs in red type.
    I'm new to JavaScript so I'm not sure my while loop is accurate.
    #target photoshop
    // The #target photoshop makes the script run in PS.
    // declare variable to contain the active document
    var myDoc=app.activeDocument;
    // declare variable to contain the number of alpha channels, excluding the RGB channels
    var alphaChan = myDoc.channels.length - 3;
    alert(alphaChan + " alpha channels exist");
    // create loop to make new layers based on number of alpha channels, fill layer with gray and apply alpha channel name to new layer
    for (a=0 ; a<alphaChan ; a+=1){
    // make new blank layer
    myDoc.artLayers.add();
    // fill blank layer with gray
    var color = new SolidColor();
    color.rgb.red = 161;
    color.rgb.green = 161;
    color.rgb.blue= 161;
    myDoc.selection.fill(color);
    //variable stores alpha channel name
    var alphaName = myDoc.channels[3+a];
    // variable stores lenght of alpha channel name
    var lz = alphaName.length;
    // declare index variable to initialize position of 1st  character of alpha channel name
    var x= 0 ;
    // truncate alpha channel name by removing all characters preceding the "\" symbol
    while (alphaName.subString(x) != "\"){          (ExtendScript gives an error for this line and highlights the backslash and surrounding quotation marks)
        alphaName = alphaName.subString((x+1),z);
        x+=1;
        z-=1;
    return alphaName;
    // remove the backslash from alpha channel name
    alphaName = alphaName.subString((x+1),z);
    //  apply truncated alpha channel name to corresponding layer
    myDoc.artLayers[a].name = alphaName;

    while (alphaName.subString(x) != "\"){ 
    should be
    while (alphaName.subString(x) != "\\"){ 

  • Layer mask alters Colors

    Hey!
    If I
    Start a new Photoshop-File in RGB-Mode
    Create a new layer and fill it with RGB = (8,8,8)
    Add a Mask
    Copy the (8,8,8) Color (strg +a, strg +c), and paste it into the layer mask (alt + click, strg + v)
    What I get is not a (8,8,8)-plain-color in the mask, but a dithered image with (7,7,7) and (9,9,9).
    Can anyone explain this strange behaviour to me? Is it only a bug in my version (CS6  13.0.1)?
    Bonus Question:
    Considering this strange behaviour: How can i turn an image exactly into a layer Mask?

    It's the way Photoshop works. Copying RGB then pasting into a single channel such as a mask or alpha channel will involve a conversion from document RGB profile to grayscale working space profile (as defined in Edit > Color Settings).
    If a doc has sRGB profile and grayscale working space is sGray, or doc has Adobe RGB profile and grayscale working space is Gamma 2.2, then gray RGB values will copy and paste into a mask without change in value.
    In any case, if you copy a single colour channel, say R, then that can be pasted into a mask and the values will not change.

Maybe you are looking for

  • Form Wizard, Excel Sourced Documents, Dozens of Extra Fields

    I have a series of PDF documents which I generate on a weekly basis from MS Excel reports. It looks something like this: Description Jan Sales Feb Sales Mar Sales Apr Sales May Sales Order 1 Order 2 Order 3 Order 4 Vendor 1 Widget 1 2 5 5 4 Widget 2

  • Help please. I can't print email from icloud

    I've tried to print the body of a few different emails from a few different people from icloud on two different computers and five different printers at two different offices.  In all instances, I can view the email perfectly but when I print, either

  • Using MS SQL Server 2000 for WLCS 3.50 DB

    I'm using WebLogic 6.0sp1 with Commerce Server 3.5 and I've successfully installed the demo. I would like to create another commerce server installation, this time using Microsoft SQL Server 2000 as the database instead of Cloudscape. I've downloaded

  • Don't want incoming mail

    I have mail coming from a server without POP. I have it auto forwarding to another account that does have POP and I get it into Mail through that account. BUT, when I reply, I want it's FROM address to be the original account. Thus, I need to create

  • Save config in the wlc4402

    Hi I need help in the restore config in the wlc 4402 way tftp server, and save an restore easy and fast config.. regards....