Merging layers with adjusment layers

I need to merge 2 adjustment layers with 2 image layers. When I do, the look changes. Are there ways to do this without changing the look? I have attached a screen capture of the layers affected. Additionally the "Stars" layer has a "Screen" blend mode. This is on a Mac.
Thanks in advance for any help.

(grr... wish I could edit posts using my iPad)
To view at 100% just double-click on the Zoom Tool or go View>Actual Pixels (100%). That way every pixel in your image will be represented by a monitor pixel.

Similar Messages

  • Apply adjustment to affect all layers when xport layers to files

    Hi.
    Have a set of sequence images opened with Bridge and placed in photoshop as individual layers. I´ve croped the image and
    applyed som adjusments eg. curves etc. Now i want to save the layers as files from the file-scripts having the layer adjustments affecting
    my layers before saving.
    /Tedski

    Well, you don’t need it anymore, but I still gave a Script that saves the pixel-layers as separate files with the Adjustment Layers flattened in a try; only for psd, though, so no format-selection.
    If you want to give it a try …
    // create psd-copies of  all pixel-layers with adjustment layers applied to them;
    // thanks to xbytor for the regexp;
    // 2010, use at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
      var thedoc = app.activeDocument;
    var docName = thedoc.name;
    var basename = docName.match(/(.*)\.[^\.]+$/)[1];
    // get path;
      try {var docPath = thedoc.path}
      catch (e) {var docPath = "~/Desktop"};
    // duplicate;
      var myDocument = thedoc.duplicate ("thecopy", false);
      var theLayers = hideAndCollectPixelLayers(myDocument);
      var theArtLayers = new Array
      if (theLayers.length > 1) {
    // show one layer and save psd;
        for (var m = 0; m < theLayers.length; m++) {
          var aLayer = theLayers[m];
          aLayer.visible = true;
          savePsd (myDocument, aLayer.name, docPath, basename);
          aLayer.visible = false;
    // close duplicate;
      myDocument.close(SaveOptions.DONOTSAVECHANGES)
    ////// function to collect all pixel-layers and hide them //////
    function hideAndCollectPixelLayers (theParent) {
    if (!allLayers) {
    var allLayers = new Array}
    else {};
    for (var m = theParent.layers.length - 1; m >= 0;m--) {
    var theLayer = theParent.layers[m];
    // apply the function to layersets;
        if (theLayer.typename == "ArtLayer") {
    // process pixel-layers;
          if (theLayer.kind == "LayerKind.GRADIENTFILL" || theLayer.kind == "LayerKind.LAYER3D" || theLayer.kind == "LayerKind.NORMAL" ||
          theLayer.kind == "LayerKind.PATTERNFILL" || theLayer.kind == "LayerKind.SMARTOBJECT" || theLayer.kind == "LayerKind.SOLIDFILL" ||
          theLayer.kind == "LayerKind.TEXT" || theLayer.kind == "LayerKind.VIDEO") {
            theLayer.visible = false;
            allLayers.push(theLayer)
        else {
    allLayers = allLayers.concat(hideAndCollectPixelLayers(theLayer))
    // this line includes the layer groups;
    // allLayers.push(theLayer);
      return allLayers
    ////// function to save psds //////
    function savePsd (myDocument, layerName, docPath, basename) {
    // this clause changes the name if a file of that name exists in that location;
      while (File(docPath+'/'+basename+"_"+layerName+".psd").exists == true) {
        layerName = layerName+"_"+"1"
      var thecopy = myDocument.duplicate (thecopy, true);
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = false;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    thecopy.saveAs((new File(docPath+'/'+basename+"_"+layerName+".psd")),psdOpts,true);
    thecopy.close(SaveOptions.DONOTSAVECHANGES)

  • Merge layers with their filters?!

    Hey Good day,
    Is there any method in Flash cs6, we could merge layers with filters?!
    I have assigned some filters (Drop Shadow / Glow/etc.) to several  MovieClips in my flash design.
    Now if I select the "Direct/Cpu" render mode, the speed will dramatically slow down.
    If I select the "GPU" render mode, the speed is perfect but I lose all effects (shadows, glows, etc.)
    What is the best solution in this case?
    In Adobe Photoshop there is an option (Rasterize Layer Styles) to merge layers with all styles.
    Is there any similar option in Adobe Flash to merge movie-clips with filters??
    Thanks a lot

    you can use a bitmapdata object to create a bitmap of your untransformed movieclip (using the draw method) and use applyfilter method to apply a filter to your bitmapdata object.

  • How do I automate merging multiple layers with same name?

    It was suggested I ask this question in this forum - any advise gratefully received!
    I have to combine over a 800 files into one photoshop file. Each file has with sixty layers. The 60 layers in each file are named identically: Layer 1, Layer 2, Layer 3 up to Layer 59, Layer 60. My intention is to create a final composite file with 60 merged layers (for an animation). That is, with all the Layer 1's merged, all the Layer 2's merged, all the Layer 3's merged and so on. What I need is a script which will merge all layers with the same layer name, ie all the Layer 1s, all the Layer 2s etc (ideally without having to merge each set of layers separately).
    I am using Photoshop CS6 and at present I am merging by using the find/name function, then highlighting all the layers selected and then using 'merge layers'.
    Any ideas?
    Best
    JR

    This might be close, it will prompt for a folder containing all the 800 files, it will use tif or psd files.
    Once you have selected the folder sit back and watch...
    #target photoshop
    app.bringToFront();
    main();
    function main(){
    selectedFolder = Folder.selectDialog( "Please select input folder");
    if(selectedFolder == null) return;
    var fileList = selectedFolder.getFiles(/\.(tif|psd)$/i);
    open(fileList[0]);
    checkBackGround();
    setLayersVisOn();
    for(var z = 1;z<fileList.length;z++){
        open(fileList[z]);
        checkBackGround();
        setLayersVisOn();
        dupLayers(app.documents[0].name);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    if(z % 9 == 0) mergeSameNamedLayers();
    mergeSameNamedLayers();
    function checkBackGround(){
    activeDocument.activeLayer = activeDocument.layers[activeDocument.layers.length-1];
    if(activeDocument.activeLayer.isBackgroundLayer){
        activeDocument.activeLayer.name=activeDocument.activeLayer.name;
    function twoOrMoreSelected(){
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref);
    if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) )  return true;
    return false;
    function mergeSameNamedLayers(){
    //Get a list of the layer names
    var layerNameList = getNamesPlusIDs();
    //create an array for unique layer names
    var uniqueName = new Array();
    for(var s in layerNameList){
        if(layerNameList[s][2] == "false") uniqueName.push( layerNameList[s][1].toString());
    //now we should have unique layer names
    uniqueName = UniqueSortedList( uniqueName ).sort();
    //select all layers with the same name, merge them and set blendmode
    var BlendMode = new String();
    for ( var w in uniqueName){
        deselectLayers();
        for(var z in layerNameList){
            if(uniqueName[w].toString() == layerNameList[z][1].toString()){
                //select these layers and get blendmode.
                BlendMode = layerNameList[z][3].toString();
                selectLayerById(Number(layerNameList[z][0]), true);
    if(twoOrMoreSelected()) activeDocument.activeLayer.merge();
            setBlendMode(BlendMode);
    function setBlendMode(blendMode) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    desc.putReference( charIDToTypeID('null'), ref );
    var desc2 = new ActionDescriptor();
    desc2.putEnumerated( charIDToTypeID('Md  '), charIDToTypeID('BlnM'), stringIDToTypeID(blendMode) );
    desc.putObject( charIDToTypeID('T   '), charIDToTypeID('Lyr '), desc2 );
    executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    function deselectLayers() {
        var desc01 = new ActionDescriptor();
            var ref01 = new ActionReference();
            ref01.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc01.putReference( charIDToTypeID('null'), ref01 );
        executeAction( stringIDToTypeID('selectNoLayers'), desc01, DialogModes.NO );
    function UniqueSortedList(ArrayName){
    var unduped = new Object;
    for (var i = 0; i < ArrayName.length; i++) {  
    unduped[ArrayName[i]] = ArrayName[i];
    var uniques = new Array;for (var k in unduped) {
       uniques.push(unduped[k]);}
    return uniques;
    function selectLayerById(ID, add) {
        add = (add == undefined)  ? add = false : add;
    var ref = new ActionReference();
    ref.putIdentifier(charIDToTypeID('Lyr '), ID);
    var desc = new ActionDescriptor();
    desc.putReference(charIDToTypeID('null'), ref);
    if (add) {
      desc.putEnumerated(stringIDToTypeID('selectionModifier'), stringIDToTypeID('selectionModifierType'), stringIDToTypeID('addToSelection'));
    desc.putBoolean(charIDToTypeID('MkVs'), false);
    executeAction(charIDToTypeID('slct'), desc, DialogModes.NO);
    function dupLayers(DocName) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    desc.putReference( charIDToTypeID('null'), ref );
    var ref2 = new ActionReference();
    ref2.putName( charIDToTypeID('Dcmn'), DocName);
    desc.putReference( charIDToTypeID('T   '), ref2 );
    desc.putInteger( charIDToTypeID('Vrsn'), 5 );
    executeAction( charIDToTypeID('Dplc'), desc, DialogModes.NO );
    function selectAllLayers() {
        var desc29 = new ActionDescriptor();
            var ref23 = new ActionReference();
            ref23.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc29.putReference( charIDToTypeID('null'), ref23 );
        executeAction( stringIDToTypeID('selectAllLayers'), desc29, DialogModes.NO );
    function setLayersVisOn(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1;
    try{
        activeDocument.backgroundLayer;
    var i = 0; }catch(e){ var i = 1; };
       for(i;i<count;i++){
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ))
            if(layerName.match(/^<\/Layer group/) ) continue;
            if(!desc.getBoolean(stringIDToTypeID('visible'))){
                var list = new ActionList();
                list.putReference( ref );
                desc.putList( charIDToTypeID('null'), list );
                executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );
    function getNamesPlusIDs(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1;
       var Names=[];
    try{
        activeDocument.backgroundLayer;
    var i = 0; }catch(e){ var i = 1; };
       for(i;i<count;i++){
           if(i == 0) continue;
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            if(layerName.match(/^<\/Layer group/) ) continue;
            var layerType = typeIDToStringID(desc.getEnumerationValue( stringIDToTypeID( 'layerSection' )));
             desc.hasKey( stringIDToTypeID( 'smartObject' ) )  ?  SO = true :  SO=false;
             var blendmode = typeIDToStringID(desc.getEnumerationValue( stringIDToTypeID( 'mode' )));
    Names.push([[Id],[layerName],[SO],[blendmode]]);
    return Names;

  • Merging/Flattening Layers with different blending modes and maintaining the visual appearance

    Hello,
    I see there are many others that are having the same problem as me. And alas, it doesn't seem like the problem has been solved or very understood for that matter.
    I want to be able to take a document, that has multiple layers, inside of multiple groups with various layers having various blending modes applied to them and from within that document, select simply two of those layers, one with a Divide blending mode and the other layer Normal, merge those two layers, but have the visual appearance of the merged layer maintain the visual appearance of what the layers looked like before I merged them.
    Everytime I attempt this, Ps takes my Divide layer, reverts it back to Normal and then merges the layers, thus changing the appearance of what it was before the merge. This is not the desired result.
    I understand that when you flatten an entire series of layers, it applies all the blending modes and maintains the visual appearance. Is there a way to do this with just two layers instead of all the layers? If so, that would be great information. If not, why not?
    Thank you
    Jake

    Short answer:  No. 
    A "layer" with a specific blending mode implies a sequence of math operations on a given pixel.  Think of the visible pixel R, G, and B values as the result of a potentially complex math formula that combines numbers from each layer in complex ways (those ways being defined by the blending mode you've chosen).  You can't always simplify particular factors of your choosing in a given math formula.
    The next step is to examine why you would want to do so.  Perhaps there's a more direct way to achieve your goal that would avert the need entirely.
    Another possibility, if the effect of several layers together is something you'd like to manipulate as a unit, is to Group the layers.
    -Noel

  • Flattening or merging layers with layer effects and maintaining them.

    How do you maintain multiple layer effects when merging or flattening the layers within a group or on their own ensuring they end up eventually to normal and 100 % opacity? (Using PSCC)
    Thank you.

    You want to flattern an image with multiple layers and layer effects?  It should just happen for you, but there some occassions where flatterning does not show the expected results.  When that happens, select the upper-most layer (so long as it is turned on) and add a copy merged layer to the top of the stack (Shift Alt Ctrl e).  Then flattern, and it should be fine.

  • Export multiple images with random layers

    I have this texture file that has many different variations to it. (3 different kinds of pants, different hairpieces, some optional items, etc...)
    What i want to do, is export it with random layers selected. (there are also folders inside, it's fine if i have to merge the folder into a single layer, but it would be better if it could treat the folders as a layer)
    There are 2 layers that must always be on,
    then there are 6 other layers that can be mixed and matched completely at random.
    Finally: there are 3 layers that only one of them can be active at one time (if one is active, the other 2 cannot be). Those last 3 layers I wouldn't mind if i had to go through manually and remove the combinations that couldn't work, but it would be much better to have it automatic.
    Is there any way to script this so that it exports all of these textures as *filename*_*variation#*.png

    -the first 8 lines just make sure there is a valid document open, and if there is, find out the file path and everything
    Correct.
    But I cut corners, if I were more diligent I would also check for the existence of more than one layer and that the file has been saved at all (otherwise it has no path and an error occurs) etc.
    -line 14 just makes sure it outputs no more than 20 images (which i find odd. the texture files are extremely small ~6.82 kb each, so loading them won't be a problem. it would be good if it got stuck in an infinite loop)
    Feel free to change it to a higher number.
    To create 100 files change to
    for (var p = 1; p < 101; p++) {
    Why is thearray2 put in thearray, but then never used separately?
    The function RandomShow checks if the elements in the Array are Arrays themselves
    if (theObject.constructor != Array) {
    and just assumes it is a Layer if it is not an Array.
    But when it is an Array the function RandomShow is run with that Arrays elements as arguments.
    This is intended to enable the various rules – for example if you have two or more Layers of which only one may be visible you could put them in such an Array with minimal and maximal set to 1, which should only make one visible.
    But – and again I should have included checks for this – you should not put a Layer in more than one Array.
    In the example changing theArray2 to
    var theArray2 = [[theLayers[0], theLayers[1], theLayers[2]], 1, 1, "no"];
    would mean that 7, 8 and 9 would only be visible individually.
    But as theArray2 is itself part of theArray it may be visible or not unless it is set as the baseLayer.
    Or rather it would if I had not forget to check the baseLayer item for being an Array itself …
    So please change the affected if-clause (should be about line 34) to
    // show the baselayer;
    if (baseLayer.constructor == Number) {
              var theObject = theArray[baseLayer];
    // show baselayer if layer;
              if (theObject.constructor != Array) {
                        theObject.visible = true;
    // run function if baselayer is an array;
              else {
                        RandomShow (theObject[0], theObject[1], theObject[2], theObject[3])
              maximal--
    -baselayer is defined (but i can't find out where to input what it is, do i put it in place of the "no" on line 15?)
    The function takes four arguments,
    • the Array
    • the minimum number of visible elements
    • the maximum number of visible elements
    • a layer that should always be visible identified by its place in the Array
    So when invoking the function RandomShow and wanting the first layer in the Array to be visible it would be:
    RandomShow (theArray, 1, 5, 0);
    -for the layer array do I put in the actual layer names?
    If you want to address a layer with teh name »Layer 1« by name (top level layers that is, layers in Groups are filial to the Group) you can use
    myDocument.layers.getByName("Layer 1")
    -If I currently have layers hidden, how would i tel it to not add those to be randomly shuffled and made visible (it was randomizing the texturemap and the other layer that is there for future reference into the compiled pngs)
    Whether a Layer is visible or not is irrelevant in the curren tform of the Script, the Layers are addressed in the Array.
    Introducing a check for visibility would be possible, but make the function a bit more convoluted as this would also affect the maximum number for example.
    I don’t think I answered all questions, but maybe you’ve made progress on your own already and you can always post again if matters are still unclear.
    Maybe the function is more complicated than it would need to be or maybe it will not be able to accomodate all your needs currently, but one could for example extend the baseLayer argument to an Array itself to have more than one element (either Layer or another Array) that will always be visible … there are still possibilities but the issue might be a bit complicated.

  • Merge Stamp all visible layers

    I'm trying to "Merge Stamp all visible layers" as Adobe calls, it by pressing Shift+Command+Option+E which normally works for me, but in this instance it's not. Is it because I'm using Smart Layers? I'd like to create a new rasterized layer that contains a merge of all of my previous/lower layers, without flattening all of the lower layers. I was able to do this by duplicating the Smart Layers, and then rasterizing that, but why won't Shift+Command+Option+E work, as it normally does?
    Thanks in advance.

    If I’m not mistaken having a SO selected should not make a difference – at least it does not for me.
    The occasions where I’ve noticed the command does not work is when I have an invisible Layer selected, in which case command-alt-shift-N (new Layer), command-alt-shift-E usually suffices as a work-around.
    Mind posting a screenshot with the Layers Panel visible?

  • How to merge adjustment layers to several layers and export layers to files

    Hi!
    I have now exactly the same problem as below with over 1000 images, I have saved them in .psd that has over 100 layers each. On top of those there is curves and levels layer that affects every layer below. I want to save all images to .jpg for videoedit with those curves at least. I don't want to merge same curves 100 times. Is there a solution in phothoshop cs5 or cs6 available? Would save alot of working hours. All I have got by this far is blank white images of adjustment layers and non adjusted jpg-files.
    This discussion was opened in 2010 and I quess this is same problem:
    How to merge adjustment layers to hundreds of layers?
    Jul 28, 2010 10:38 AM
    Say I have a photoshop File with 100 layers.  And say I created 3 adjustment layers on top of those 100 layers to get the adjustments that i want for those layers.   I'm happy with the adjustments but Then I NEED to merge those 3 adjustment layers to ALL those 100 layers.   Is there a way to easily permanently apply the adjustments to each of those layers without having to do it manually?     I absolutely need to merge the adjustments to the seperate layers because of how the layers are being used in a seperate 3d program.   
    So far what I've been doing is duplicating the adjustment layers for each layer and merging them to said layers separately.. Anyone have a better way? I wish I could just right click the adjustment layer and Tell it to merge to everylayer it affects  or apply to every layer underneath it!
    Anyone?
    Thanks!
    Thanks alot if u solve this!
    -Anne

    first
    doing action on one photo only with any effects or filtters .
    second
    doing Droplet  = File > Automate > Create Droplet.
    for more details with pictures here
    http://www.absba.org/showthread.php?t=1172143

  • Problems with adjustment layers in image

    I've been working with an image with about a half dozen layers. Some of these are Curves adjustment layers, I've also added a layer, using Soft Light mode, and then paint either in black or white to dodge and burn the image. At some point, when I started painting in this layer, or in the masks of the adjusment layers, instead of seeing my results in the image, I'm see red brush strokes being added to the image. It looks like the red you get when you toggle the "\" key and you're seeing what's in the layer and the masks in rubylith.
    Also, when I select a layer, it turns light gray, not blue, as with other images.
    What is wrong here?
    David

    Okay, I don't know what the problem was, but I fixed it by going into Channels, deleting the 'Mask' channel, then adding back a mask to the Curves adjustment layer.
    All is well, but I'm still curious as to what happened.
    d.

  • Import Illustrator File with multiple layers and sublayers as composition retaining all layers and sublayers

    I have drawn a country map with multiple layers and sublayers including streets, cities, rail lines, ...
    Now I want to create a template for my collegues in After Effects.
    For this I want to import the .ai file into After Effects retaining all sublayers and layers in compositions and subcompositions.
    When I do that, I get the first couple of layers correctly, the other ones comes in one merged composition.
    What can I do, to get all layers each as a layer in After Effects?
    Yours, Raphael

    Illustrator only imports the first level of layers. If you have groups or paths below you need to release the groups to layers. The layers will then be stacked in order as sub layers. Then you need to move them up.
    The steps are to select a layer in the Illustrator layer panel, then without selecting any specific element in the layer click on the menu in the top right corner and select release to layers. All a elements in that layer will be converted to layers. Now select them all and drag them up above the original layer. This will leave the original layer empty and put all elements in new layers.
    Here's a tutorial I did a zillion years ago which uses this technique to turn a blend into a morph.
    Morphing With Adobe Illustrator. I hope this helps.

  • How do I resolve issues with missing layers when opening a Tiff file from Photoshop CS5.1?

    I am downloading Tiff images from a partners website. After extracting the file and opening from Photoshop CS5.1 it's only displaying one of the original image layers. For example and image with two guys shaking hands in an office is only opening the clipped two guys and not showing the backgroud. The vendor says the files open fine on their end which leads me to believe its a download or photoshop issue. Any recommendations?

    Thanks Curt... I don't think my explanation was clear. I'm downloading an image from an external webiste. The image downloads in a ZIP archive. After extracting from the Zip file, I go into photoshop and do file open. Only part of the image appears. It looks as if it's the top layer of a photoshop image but since I didn't build the image, I'm not certain it was built with multiple layers. Any ideas?

  • Using Javascript to rasterize a layer and maintain its position with other layers.

    Trying to use javascript to rasterize just the contents of a certain layer by its name.
    It needs to maintain its position.
    I've sort of cobbled a script, but it keeps moving the rastered art to the top layer.
    Ex, top down i have Layer 4, RasterizeMe, Layer 2, Layer 1. 
    The rastered contents end up on Layer 4
    Any help would be apprecieated, or if theres a better method of doing this.
    //  Rasterize Layer by name
        if ( app.documents.length > 0 ) {
            doc = app.activeDocument;
            if(!doc.saved){
                Window.alert("This script needs to modify your document. Please save it before running this script.");
            }else{
                createRasterLayer(doc);
        }else{
            Window.alert("You must open at least one document.");
    function createRasterLayer(doc){
        var totalLayers = doc.layers.length;  //get the total number of layers in the active document
        for ( var i = 0 ; i < totalLayers ; i++){  //looping through layers            
            var currentLayer = doc.layers[i];
            var tempItem;
            if(currentLayer.visible == false) continue;   //We don't want to deal with hidden layers
            currentLayer.locked = false;                       //Unlock the layer if needed
            var layerName = new String( currentLayer.name );
            if ( layerName.indexOf("RasterizeMe") == 0 ) {
                currentLayer.hasSelectedArtwork = true;   //Select ALL in the layer
                if(doc.visibleBounds[2] == 0) continue;   // ignore empty layers
                var newoptions = new RasterizeOptions; 
                newoptions.resolution = 350;
                if ( doc.selection.length > 0 ) {
                    newGroup = app.activeDocument.groupItems.add();
                    for ( z = 0; z < doc.selection.length; z++ ) {
                        doc.selection[z].move( newGroup, ElementPlacement.INSIDE);
                    doc.rasterize (newGroup, newGroup.visibleBounds, newoptions);

    you're adding the group to the document, it will be the top most object on the top most layer
    newGroup = app.activeDocument.groupItems.add();
    use this to add the group to the current layer
    newGroup = currentLayer.groupItems.add();
    or if theres a better method of doing this.
    I would
    - loop through all layers,
    - hide them all, except the one you want to rasterize,
    - Rasterize the document
    - unhide layers

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • I'm having issues with text layers in photoshop. Text layers show it's there but not visible on the canvas.

    I'm having issues with text layers in photoshop. They aren't visible. I've checked font size, alignment, layer order and color. And the layer list shows that it's there. All seems well but I still can't see the text that I write. Need help trouble shooting. (I asked this question about a month ago but I got sidetracked and never circled back.) Thanks.

    Please refer to your original topic (Text Layer not Visible.) instead of posting a new topic.

Maybe you are looking for

  • WS Adaptive Model: ClassCastException at WSGenericModelClass

    From a Web Dynpro application, I'm trying to connect to the KM through the webservice interface. For this, I'm using the Webservice Adaptive Model. And everything works fine, except the error handling. For example, when I try to find resources, and I

  • Restoring function to Mighty Mouse

    I once found a post here to temporarily restore vertical scrolling function to a Mighty Mouse by cleaning the scroll ball with a paper towel moistened with rubbing alcohol. That worked for a while, but after 6 month of just working, it went to needin

  • Safari has been stampeded by wild elephants!! Actually it freezes.

    Lately, no matter what I do, my Safari 4.0.3 (I know 4.0.4 is available), on 10.6.1 (yes I know 10.6.2 is available), has gone out to lunch. I've dumped my com.apple.safari.plist, emptied my bookmarks, and it does nothing but freeze when I launch it.

  • Recapture of slide show photos

    Does anyone have a method of copying photos saved in a iDVD slideshow? The original scans were lost by upgrading software, and now the only place the photos exist is in the slideshow. I'd like to copy them in a JPG format into another file so I can u

  • Work process in BW

    What does the UPD, UP2, SPO work processes do? What is the recommended number or is there any guidelines on how to decide on how many is optmal? Thanks