Excluding Adjustment Layers from a Layer Param

Is there any way I can do this?
If not, how can I detect if the selected layer is an adjustment layer?

ok.
so the end game is to get the layer flags.
to get that, we need a layer handle (AEGP_LayerH).
but the layer param doesn't hold a layerH, it holds a layer ID,
so we need to get the layerH using the layerID.
for that we need the comp handle (compH).
why?
because the layer id resides in a certain comp, so we need to reference it.
to get the compH, we need our own layer.
why?
because an effect can't tell in which comp it's at, but it can tell on which layer it's at, and a layer can tell which comp it's at.
got it?
good.
let's boogie:
//getting the layer our effect is on.
ERR(suites.PFInterfaceSuite1()->AEGP_GetEffectLayer(in_data->effect_ref, &selfLayerH));
//now we can get the comp we're at.
ERR(suites.LayerSuite4()->AEGP_GetLayerParentComp(selfLayerH, &compH));
//now let's look for our target layer
//we start by getting our effect's own effectH
ERR(suites.PFInterfaceSuite1()->AEGP_GetNewEffectForEffect(NULL, in_data->effect_ref, &effectH));
//so now we can find the streamRef for the layer param
ERR(suites.StreamSuite2()->AEGP_GetNewEffectStreamByIndex(NULL, effectH, MY_LAYER_PARAM, &streamH));
//we're getting there...
//we can now get the value of the layer param
ERR(suites.StreamSuite2()->AEGP_GetNewStreamValue(NULL, streamH, AEGP_LTimeMode_LayerTime, &timeT, FALSE, &valueP));
//so close...
//converting the layer ID gotten from the value of the layer param, to a layerH.
ERR(suites.LayerSuite5()->AEGP_GetLayerFromLayerID(compH, valueP.val.layer_id, &targetLayerH));
//and finally, getting the target layer's flags!
ERR(suites.LayerSuite5()->AEGP_GetLayerFlags(targetLayerH, &layer_flags));
HORRAY!
now dispose of everything you worked so hard to get!

Similar Messages

  • How to animate adjustment layers from photoshop?

    Hi,
         I am trying to animate an adjustment layer in Flash with Photoshop. The only way to describe the effect I'm looking for is if you apply an adjustment layer to an image/photoshop file (i.e. Hue/Saturation) and move the slide bar from one side to another. This effect works well with pictures that have multiple colors. I might be able to provide a video of this effect if my description is confusing.
    Regards,
    Eric

    you want to animate a color change?

  • How to keep adjustment layers separate from other layers (PSE8)?

    I'd appreciate some guidance on how to keep the adjustment layers for a standard layer from adjusting the background (lowest) layer.
    Scenario:
    I've created a solid background layer to serve as a backdrop for the image of a small sculpture. Above the background layer is a layer of just the sculpture image. Above the layer of the sculpture image are a number of adjustment layers that are meant to apply to the sculpture layer only. I'd like to know how to keep the upper adjustment layers from adjusting the background (lowest) layer.
    Thanks

      Highlight each adjustment layer (Ctrl+Click) in the layers pallet
    Then press Ctrl +G
    The thumbnail icons should move slightly right with a downward arrow indicating clipping to the sculpture layer below.
     

  • A way to move layers from one file to another in actions?

    Ok, question for the gurus out there - rather than try to explain, I'll give you an example: Lets say I have a series of adjustment layers that I want to apply to a sequence of 40 images. The adjustments are in a layer group, and are saved as a separate file.
    I DON'T want to drag and drop them, I want to run an action that will copy the adjustments to each image- now I know I can save down each adjustment as a separate file, lets a curve (acv) a selective color (ahu) file and load THAT in as part of my action. But I don't want to do that either, because these adjustments will change and I want to easily re-render my changes on all 40 images in one step.
    I also don't want to use After Effects to do it, because my client doesn't own it. There used to be
    a way to move layers from one file to another in actions because I seem to remember doing it. The answer is not Duplicate Group either because that needs you to specify a destination file name.
    Is it possible to do this without scripting? I'm pretty sure it used to be because I seem to remember doing it, just cant remember HOW I did. Maybe I'm wrong about this though.
    Thanks and sorry for the long post, this has been baffling me for weeks.

    Thanks Ed, but as I explained above
    "I know I can save down each adjustment as a separate file, lets a curve (acv) a selective color (ahu) file and load THAT in as part of my action. But I don't want to do that either"
    What I want to know is is there a way to move adjustment layers from one file to another in an action. I know also that you can use the clipboard to move pixel layers, but I've yet to find a way to move adjustments.

  • Adjustment Layers and Photoshop

    Is it possible to import adjustment layers from Photoshop to use in a Premiere Pro CS6 timeline?  This could open up some options for color grading.

    http://helpx.adobe.com/premiere-pro/using/importing-still-images.html
    excerpt:
    Import a layered Photoshop file
    When you import a layered file saved in Photoshop file formats, you can choose how to import the layers in the Import Layered File dialog box.
    Note:
    Some Photoshop layer attributes aren’t supported, such as special blending modes and the Knockout option. For best results, use basic transparency and opacity in Photoshop. Adobe Premiere Pro does support most Photoshop blending modes.
    Premiere Pro imports attributes that were applied in the original file, including position, opacity, visibility, transparency (alpha channel), layer masks, adjustment layers, common layer effects, layer clipping paths, vector masks, and clipping groups. Photoshop exports a white background as opaque white, whereas it exports a checkerboard background as a transparent alpha channel when exporting to a format that supports alpha channels.
    Importing layered Photoshop files makes it easy to use graphics created in Photoshop. When Premiere Pro imports Photoshop files as unmerged layers, each layer in the file becomes an individual clip in a bin. Each clip’s name consists of the layer name followed by the name of the file that contained it. Each layer is imported with the default duration you select for still images in Preferences.

  • Adjustment layers in CS6

    when I try to open an adjustment layer the working panel on the right of the screen comes up with a strip showing a thumbnail  of my photo, but there is no link and no white rectangle. What is wrong?  Peasashjoan

    It sound like you have set one Adjustment Panels fly-out menu option at one poin in time. Adobe introduced Bugs in CS4 they don't seem to want to fix. The Adjustment layer was added to your document at a point in time that Adjustment Panel Fly-out menu Item Do not add Layer mask was most likely checked.  If the Layer was added by an action it or script it may well have been added differently the the way the action or script was created to work.   To create actions that add adjustment layer these days you need to edit the actions and change the way Adjustments layers are added.  Actions need to add them in a way that how the fly-out options are set is not relevant. In other words all-way have an active selection present when an action add a adjustment layers. The layer will have a Layer mask. And All-way record adding the adjustment layer using the layer menu Layer>Add Adjustment Layer>Type and check the clip to previous option is the popup add adjustment layer dialog. That way the Adjustment layers will be clipped.  If you record an action that add an adjustment layer any other you have no way of knowing how the layer will be added if you using a version of Photoshop newer the CS3.
    These option need to be removed from the Adjustment Pane;l Fly-out menu they break thing that depend on Photoshop behaving like it historically did.  Photoshop may now be set to work in different ways  How new or old actions and scripts that add adjustment layer will work is a crap shoot for Actions and Script can not set or even check on how Photoshop is currently set to work.
    My Advice is forget these options exists and leave them set at the default settings and Photoshop will work just like it always did before CS4....

  • Fill- or Adjustment Layers

    My version is Photoshop CS5.
    When I add an adjustment layer, it generates automatically a layer mask (white), which I mostly do not need, and thebn have to delete, when it then bothers me with another question.
    How can I avoid getting this layer mask in the first place?
    Thanks for any replies.
    Ursula Rose

    You can turn off the adding of a blank layer mask
    Adjustment layers from the Adjustments panel and uncheck Add Mask by Default
    Fill layers from the Layers Panel Options and uncheck Use Defaults Masks on Fill Layers.
    If you have an active selection, then a layer mask will be added, even with the above options unchecked.

  • Adjustment layers not 'sticking' on animated GIFs

    I'm trying to adjust brightness/contrast and saturation over about 30 layers on an animated GIF. Everything looks great until I do a save for web and click on the animate box. At that point, the color/changes drop off completely. It shows up fine when it's just the one layer being shown. And it seems to be showing up on all the layers when I'm in the main edit window. I keep looking and making sure I have the 'this adjustment affects all layers below,' and I do. I even tried saving a GIF with the other setting turned on and I got the same thing.
    Anyway, I exported a few GIFs, thinking maybe the adjustment layers would kick in as it saved, but nope. Neither layer saved into the exported GIF.
    I'm sure this is just a simple setting I'm missing, but I'm banging my head against the desk at this point. Any help would be greatly appreciated. Thank you!

    Thanks! I'm still trying my best to sort out why the adjustment layers drop off when I go to animate the GIF ... BUT I did duplicate the adjustment layers -- one for each frame -- and then clicked on the adjustment layers and selected layer and merged them one at a time and it worked. It's still more tedious than I hoped, but not as tedious as trying to adjust each layer on its own and having to input the same exact settings for each layer.
    I would still be interested in anyone else's take/advice on applying adjustments to all the layers in an image at the same time and having it cary through to 'save for web.' Animated GIFs are so simple in theory, but I'm finding them to be absolutely one of  the most frustrating and tedious things to try and edit/create.

  • How to Apply adjustment layers to multiple layers that have different blending modes ...

    How to Apply adjustment layers to multiple layers that have different blending modes  and keep the colours the same as the adjusment done?
    I work in Animation painting Backgrounds.  My files are sometimes upwards to 200+ layers.
    I will use adjustment layers to quickly balance colours and constrast on top of those many many layers.
    The only way that I know of how to apply adjustment layers it to every single layer  ( by applying I mean I need to get rid of the adjustment layers because we cant use them in production but i need the new colours be applied to all layers underneath ) in a psd is to manually do it By duplicating the adjusment layer 200+ times and  then merging each layer to one of those adjustment layers so that that layer can take the adjustment layers effect permanently.
    The issue is that Within Those 200 layers I have some layers set to Multiply or OVERLAY.    IT obviously wont apply the adjustment layer properly to those layers because those layer blend mode affect the layers under them. The colour wont be the same anymore in the spots that had the multiply blended mode.
    HEres an example of a simple File.  to show what i mean.
    https://dl.dropboxusercontent.com/u/3408266/ball%20layers.jpg
    https://dl.dropboxusercontent.com/u/3408266/ball.psd
    I have 2 adjustment layers up top.  I need to get rid of them by applying them to each layer! I cannot merge any of the layers. We need all those layers for production.
    I can apply the adjustment layers manually and this works GREAT for all Layers set to normal.  THey take on the colour change just FINE.
    However, The issue is that layer 6 and layer 4 are both set to mutiply and this screws up the colour once i apply the adjustment layers to each layer manually...
    How can i apply my adjustment layers to a file like this with some layers being set to multiply while keeping the layers exactly the same configuration  and The new colour taking efffect exactly how i looks before i apply the adjustment layers?
    Now the simple solution is to merge the multiply layers to the layer that it affects HOWEVER I NEED those multiply layers to be seperate! 
    I'm assuming what I want to do is impossible? Hope this isnt confusing.  As far as i know its impossible to do what I want it to do.  but just wanted to ask and see.
    I would REALLY REALLY love to talk to a adobe programmer/ technician/pro working at adobe about this.  Theres just no way to get in touch with anyone... =(
    any thoughts ?

    Sure... if you want to put it that way. Either way its not the desirable outcome. 
    its just frustrating that theres no way to apply adjustment layers to hundreds of layers while keeping them in the same configuration ( blendmodes,  layer order ,  without merging)  while keeping the same end result.
    works great if all your layers are set to normal though..    But I really need to keep shadow layers seperately and be able to adjust on the fly aswell as apply those adjusment to all my layers.
    I suppose that just isnt possible.   I understand the math required for this would be tremendous/ complicated if something like this would ever be implemented.  Would be nice if adobe could come up with some solution to this.  Its really a huge issue in my work flow and theres no alternatives.    How else can I adjust colours to 100+ layers  with a few clicks that lets me play around the the adjustment until im happy with the outcome.    Really wish i could adjust and the quickly apply that adjustment to all my layers regardless of blend mode.   LIke If the Layers with blendmode could somehow take the properties of the adjustment layer and keep adjusting those layers undereathe on top of that blended mode that its doing...   

  • How to merge adjustment layers to hundreds of layers?

    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!

    Record an action starting with your adjustments on top, with all of the adjustment layers selected.
    1 - Duplicate the adjustment layers
    2 - Select backward layer (alt-[)
    3 - Select backward layer with add (alt-shift-[)
    4 - Repeat step 3 as many times as needed (for three adjustments this would be twice more)
    5 - Merge layers
    6 - Select forward layer (alt-])
    7 - Select forward layer with add (alt-shift-])
    8 - Repeat 7 as needed (for three adjustments it would be once more)
    9 - Move to previous layer (ctrl-[)
    Then run it 100 times. Or duplicate these steps a few times and run the 5-up action 20 times. To retain the original layer name, you could dupe the image layer, and move the original to the top of the stack (alt-] a few times) about to be merged and reduce its opacity to 0%. The basic idea is to use alt-], alt-shift-] and ctrl-] to navigate around, and record an action that gets you can to square 1, except that your adjustments have been dropped down to the next layer below.
    You could also export layers to files, batch them by adding and merging the adjustment layers, and then loading them back into the stack. Or use pixel replacement variables to do much the same thing.

  • 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

  • Why are PSE9 adjustment layers an improvement?

    PSE6 has access to blend and opacity controls in adjustment layers but that's not so in PSE9, unless I'm somehow missing the controls. If that's the case, those controls are absent, how are the PSE9 adjustment layers an improvement?

    More about Adjustment layers from Adobe Help:
    http://help.adobe.com/en_US/photoshopelements/using/WSae2ea3b149d0c3591ae939f103860b3d59-7 f8e_WIN.html

  • Can I convert a series of adjustment layers into a single action?

    Hello,
    I have a Photoshop CS6 document with 20-some adjustment layers and would like to be able to apply their effect to multiple image files. I'm looking for a way to convert the series of adjustment layers into a single action so that I can batch process a set of images. Can this be done?
    Unless I'm missing something, it appears that no trivial solution exisits. For example, there's no option that allows for selecting the adjustment layers, right clicking them, and choosing 'convert to action.' What I want to avoid is having to redo each adjustment layer just for the sake of recording an action.
    Also, I understand that I can always "place" (i.e. drag and drop) the image requiring processing into the Photoshop document containing the adjustment layers, saving a merged copy as jpeg, and repeat... but such a manual method would border on insulting to this prowess of a program.
    If anyone can get creative and suggest a method of recording an action that can make use of the document with the adjustment layers and a variable document that will be passed through during the batch process, I'm all eyes!
    Many thanks.

    _zeppelin2 wrote:
    Hello,
    Also, I understand that I can always "place" (i.e. drag and drop) the image requiring processing into the Photoshop document containing the adjustment layers, saving a merged copy as jpeg, and repeat... but such a manual method would border on insulting to this prowess of a program.
    If anyone can get creative and suggest a method of recording an action that can make use of the document with the adjustment layers and a variable document that will be passed through during the batch process, I'm all eyes!
    You have the other choice with drag/drop or duplicate where you copy the adjustment layers into the other image document.  Target all the adjustment layers in the layer palette click on the first one the Ctrl|CMD+click on the others or if adjacent Shift+click on the last one to target all the adjustment layer then use menu Layer>Duplicate Layers...  and use the pull down menu in the pop-up dialog to choose the other open image document.
    You can of course record an action when you add all the adjustment layers then play that action on the other images. Twenty adjustment layer on top of an image seems a bit extreme to me.

  • Why use layer masks and adjustment layers?

    I've been using PSE and CS successfully for years.
    One thing I have never understood is: why use layer masks and adjustment layers, instead of simply creating a copy of the subject layer (the one I want to make changes to) and experimenting with that?  It's quick (Ctrl-J), I can do it as many times as I want, I'm not affecting my Background layer.  If I like the changes, I can keep them.  I can switch the copy on and off to compare with the Background layer.  I can do any type of blend or combination I desire.  I can insert Gradient layer(s), select any part of the copy and (Ctrl-J) create a new layer containing only the selected part.  I can adjust size, rotate, do anything.
    It almost seems that "layer mask" and "adjustment layer" are mainly another layer of terminology; can anyone explain (preferably in 50 words or less) how they are intrinsically different from or superior to working with copies of the Background layer?  What can be done with them that can't be done simply using copies of the Background layer?

    Here's a very basic example of the advantage of using a layer mask.
    I have this picture of a sunflower and I want to convert the background to black & white, leaving just the flower in color.  I duplicated the Background layer, converted it to B&W and proceeded to use the Eraser to uncover the flower color. But I made a mistake and erased outside the flower.  There is no way to correct this other than deleting the layer and starting again.
    Now let's use a layer mask on the B&W layer. Set the Foreground/Background colors to the defaults black/white. Using the Brush tool paint on the mask with black to reveal the color.  Here I painted too far, revealing a green leaf in the background.  No need to start over.  Simply switch to white and paint the excess to convert back to the B&W.
    Tip: while painting you can type "X" to toggle between black and white.
    You could also select the flower using the various selection tools and then fill the selection with black. If it turns out the selection was not 100% accurate you can then fine-tune the result by painting on the mask with black or white as necessary.

  • Using adjustment layers to only one layer

    I know how to use an adjustment layer - it goes directly over the layer I'm editing and I'm able to edit the colour (such as hue etc). The trouble is, anything below that adjustment layer then gets affected. Is there any way I am able to make this adjustment layer exclusive to a partuclar layer?
    Ideally then in that sitation I'd be able to have a bitmap layer using a vector mask (for example, a cut out tree) and then using an adjustment layer to change the colour of the tree.
    Hope I've explained it well enough, it's a bit confusing.
    Thanks.

    I'm new to CS5, but find that if I create an adjustment layer from the "Adjustments" window I automatically get the chain link icon in the layers window showing the two layers linked, then the adjustment only affects the layer below.   However, if you use Layer|New Adjustment Layer|Levels (for example) then you have the option to use previous layer as a clipping mask if you tick that box it is linked just to the previous layer, left unchecked it affects all layers below.

Maybe you are looking for