Collapsing a masks transform settings

So I have an Adjustment layer with a mask and I've adjusted it's position/scale/rotation with the transform settings and I want to copy the mask to another layer and of course when I do this the mask goes to the shape it was before the transform settings were applied, if I copy both the mask and the transform settings the transform settings mess up the layer they are copied onto and while I know there are longer ways around this I wanted to know if there was a way to simply collapse the current transform settings into a mask so that the mask would stay as it is with the transform settings reset.

Masks are based on layer size not scale so the behavior you describe is expected.
There a couple of things you can do.
First, I'd modify the workflow and instead of scaling your adjustment layer with it's mask I'd animate the mask path or adjust the mask path. If that's not practical you can duplicate the adjustment layer, remove the effects, turn off the Adjustment Layer switch, then use the copy as a track matte for your other layer.
The other option would be to use Layer>Auto Trace to generate a new solid layer with a mask. This mask can then be used as a track matte or the new mask copied and pasted to another layer.

Similar Messages

  • Photoshop Animation with Transform: Can i Animate *MASK-Transformation* continuously?

    Hello, i edit software video tutorials on the Photoshop timeline*. Sometimes i want to zoom into a screen area and show the action there enlarged.
    Let's say my tutorial explains Photoshop's layer techniques. The screen cast shows the whole Photoshop workspace including the layer panel. Now in the tutorial, i want to zoom into the layer panel with 200 %, so that viewers see the mouse action and thumbnails there better, while still a good part of the workspace including the image is visible (so you get the enlarged layer panel and see how it affects the image). To zoom smoothly into the layer panel area,
    i make a smart object of the footage,
    duplicate it into a new video group,
    create a vector mask around the layer panel (my area of interest),
    start the Transform stop watch on the time line
    move the timeline cursor half a second further and
    transform the layer to 200 % (using pixel replication)
    In the result, the screencast itself is nicely zoomed into. But the mask is never zoomed – it is either one size or the other, and there's no difference whether using vector masks or layer masks (i prefer vector masks of course).
    I see that there are more stop watches for
    - vector mask position
    - vector mask active
    But they don't help and i don't fully understand them. I read a lot and saw some tutorials, but still don't understand the situation.
    Is it possible or not that the mask is contuinuously scaled larger and smaller together with the footage itself?
    By the way, i know how to show an enlarged screen area without the zooming-in. I can simply fade in. That works nicely. But i would love to show the zooming-in.
    Or should i do that kind of work in another application altogether?
    Thanks for any clues (or links) you might give me!
    *aware that there are other solutions, but usually works well for me

    You did not look down far enough. Below them are some layers in blue (or other solid color) Twirl down the one that says 3D Meshes. Click on the small stopwatch for the object move your playhead ahead in time then rotate your mesh. The easiest way to rotate the mesh is using the text fields in the mesh's properties.

  • Swap black and White in layer mask

    How do I change the default settings for the layer mask, as I'd like to swap black and white color.

    hi steenmikkelsen2,
    white means that your mask is transparent until you fill it with black. since then, there was no option to change the mask default settings from white to black otherwise you have to do what Noel suggested. but i hope my suggestion will help you better.
    ►press "Alt" key on your keyboard simultaneously as you click on the "Add Layer Mask" button under the Layers panel. that switches a white layer mask to black. :-)

  • Transforming CC #7 to CC#11

    I am using LP 7.1 and Garritan Personal Orchestra. I have followed previous forum instructions on how to transform cc#7 to cc#11 and it worked for Logic plugins/instruments. But for GPO and others, my volume pedal does not work. I can see the midi data in the input object changing from 0 to 127. But no sound comes out when I depress the keyboard while using GPO and Spectrasonics, etc. Logic instruments are okay. What am I doing wrong? Thanks in advance.

    Yes I have loaded GPO in Instr #1. If I could figure out how to give you a view of my environment and arrange pages I would post. But, let me explain what I see.
    The arrange page has GPO as a plug in instr #1. I then click on inst#1 to access clicks and ports and the environment page. After setting up the transformer,etc., when I come back to the arrange window, I see "input note" on this track. Press on a key, no sound. When I change to Instr #1, I hear GPO with no expression.
    On the environment page I create a sequencer input, transformer and new instrument. I cable new instrument to transformer, fix CC#7 to #11 transformer settings, cable transformer to physical input and sequencer input. I see midi messages change in input view window when I depress the volume pedal. What I am confused about is how to take the plug sticking out of the transformer and drag onto the audio instrument messages from the arrange page. I mean I know how to take the plug and cable. I just do not know what the "audio instrument messages" is. Is this the input view window? I do not see an audio instrument in the enviroment screen. Thanks again for all of the assistance. This lack of knowledge is really painful.

  • How to apply transform setting to other sources

    It's been a while since I've played with after effects and I can't rember how to get the spiral icon by each of my transform settings like position and scale so I can drag the spiral icon to other layers and apply the same position or motion tracking info to a different layer so I don't have to motion track for every layer?

    I guess it's alt click on the little clock in the layer. How do I turn it on for every layer?

  • Is it possible to do lookup without using lookup transformation?

    Could you please brief about data masking transformation..?

    Hi Deepsikha, You can also use Data Masking Transformation (Substitution Masking) in place of lookup. This performs similar functionality as Lookup. Thanks,Ramesh.

  • Formatting mask for marketing project

    Sir ,
    We have implemented SAP CRM 2007 (6.0)  . Marketing Plan , element , Campaign Management & element id's are generated automatically by system .
    But we have created Formatting mask and Campaign ID should not be generated automatically but End user will create Marketing & Campaign ID according to formatting mask .
    Please guide how to stop automatic numbering and
    iD will be created by user according to formating MASK . what settings i have to do ?
    Regards,
    Anup

    sir ,
    campaign and marketing id's are generated automatically . i dont want to use auto numbering
    now i have created formatting mask . i want to use formatting mask . so please guide me how can i use it .
    that will replace existing numbering system.
    Regards,
    Anup

  • Scale Mask Help

    I am new to after effects so this is probably easy but I cannot figure it out.
    I am trying to animate the path that is defining the mask while keeping the exposed object beneath the same size (so over time just exposing more and more of the object beneath). Below is a simple illustration of what I am talking about. So it would appear as if you are flying into the star and then through the star to the scene behind.   This seems very simple but I cannot figure it out.
    The only animateable option that I can find that does something similar is the "mask expansion" but that distorts the shape of the path as it gets larger and larger (the star in this case would not stay a star, it expands into a circle).  Also if I transform the the "scale" then it scales the entire layer, not the mask path.
    So any help would be appreciated.
    Also if there is an effect that can be added to add depth the the masked object that would be great to know as well. (So in this case, a way to add thickness to the gray layer. This thickness would be noticed as you flew through).  I am trying to create the feeling of flying through an object similar to flying through a window or short hallway to the scene behind. if you know of a tutorial that would be great.
    thanks.

    I see that Todd responded and linked you to a thread with options. Here are ones I had typed up before his response (some of these are in the link he put, but not all of them).
    Option 1: Make the grey layer a 3d layer and fly your After Effects camera through it. (for depth you would need to create many copies of the grey layer and offset them a pixel or so in z-space).
    Option 2: Import your Illustrator item into AE and use it as a track matte for a grey layer
    Option 3: Click to select your mask and press ctrl+t (Cmd+t on a Mac) and you can easily scale up your mask (you would want to set a keyframe for the mask shape the small size then move ahead and do the mask transformation.)

  • Mask Tracker -- So close and yet so far?

    Arghhh!  The mask tracker was one of my most-desired features, and I was over-the-moon to discover that they'd done it beautifully and simply!  No more going to Mocha and using mocha-import just for relatively simple masking tasks!  This should save hours on some complicated tasks!
    And then I discovered that it was adding keyframes to the "Mask Shape" parameter... which for most of my uses renders it basically unusable.
    The problem is quite simply that I WANT to still be able to keyframe the shape of the mask!  Mocha's approach of having a separate set of tracking data and shape keyframes layered on TOP of that is the right approach.
    For the mask tracker I was expecting either a version of AE's tracker  "Tracking Data" paramater that drove the mask, or something more elegant like a new set of "Mask Transform" properties that get applied upstream of the shape parameter.
    Does anyone have any workarounds for this in the meantime?  I love the idea, but need to still have flexibility in keyframing mask shape!   Any hope of getting this fixed in a future update?

    > something more elegant like a new set of "Mask Transform" properties that get applied upstream of the shape parameter
    That is the plan. Just a matter of priorities as to when it happens. Thus the link that Todd posted just above

  • Why doesnt the smart filter mask move with the smart object?

    OMG Why doesnt the smart filter mask move with the smart object?  Yikes Way PITA

    If you look at the other tread about transform Again and smart Object layers you will find I found there seems to be two flavors of Transform and some bazar behaviors when it come to smart object layers. http://forums.adobe.com/message/4611500#4611500
    However for this problem here I think I can not show you how to do it.
    First target the smart filters Mask.  In fact so you can see what is happening Alt+Click on it so Photoshop displays the mask rather then the the composit image.  Then  use Ctrl+T free transform then just for a test hold down the Ctrl and the Alt keys and drag in a cornor to constrain and srink the Mask thee release the keys and press enter to commit the transform.
    Next target the smart object layer then use the short cut Ctrl+Shift+T (Transform Again) on a PC the smart object layer will be transformed to match the filter mask transform.

  • Accordion style image masking effect

    Hi i'm trying to create a making effect that on a RollOver i
    expand the mask of an image horizontally to the full widht of the
    image while "collapsing" the mask of other masked images displayed
    along side of it.
    This effect is sort of similar to the accordion style menu
    and the menu icon that OSX has. The developed the attached code but
    it is flawed in that the sequence isn't moving as syncronized as it
    should as the clip whose width is expanding seems to be crashing
    into the other clips along side it giving an over lapping
    appearance for a while until it has finished expanding. Can any one
    shed some light into another approach/ technique i can adopt to get
    this effect right?

    sorry friends for bottering u but i am still not getting it
    .I think i understood the basic as but when i try myself it doesn't
    come out.i am sending this .fla file .Please go through it and tell
    where i am getting wrong.
    http://www.hostmyfile.co.uk/?code=bda86442c819993c1cfc3afbac96bd3f

  • Keep a mask path static while it's parented by something animated?

    Hi, is there any way to have a layers mask stay static in the scene even when its parented by something thats animated?
    Such as maybe putting an expression in its mask path settings?
    Thanks,
    Mike

    I posted this question on two different forums, unrelated to eachother, so I could get more, and different feedback from different groups of people.
    Read that old blog entry! Really do! You know, that thing about potentially getting more confused, the community being small and such.... Don't take this as arrogance or snobism: When it comes to basic techniques, the answers will usually be the same, regardless of which forum. Within a reasonable timeframe (which for forums is something like 24 hours to allow for people living in different time zones; longer on holidays and weekends), there will always be someone to help you on a halfway frequented forum such as VC or this one here. If you have serious technical questions, opt for the forum that would provide the best insights, which usually is that of the vendor. When it comes to creative matters, that's a whole different story. In that case of course it doesn't hurt to get a second opinion from a different set of people, but even then it would be nice if you took a structured approach and would only post on other forums, if the answers you get in one location do not satisfy you. Plus you should always tell people when you have posted on other forums to keep the spirit of the discussion. Who knows? - Even an old slacker like me might still learn a thing or  or catch some good creative ideas peeking in on other forums...
    Mylenium

  • CCM 4.1 route list issue

    We are trying to transfer a calls to an after-hours call center.  Unfortunately we are getting a fast busy when we attempt to forward.  When I run 'debug isdn q931' I can see the reason we are getting a fast busy is the number prefix is incorrect.  It's trying to forward the number with our 7 digit prefix in front of the calling number.  So our 7 digit prefix is 989-2525 and the calling party for example is 909-656-2222, so when it trys to forward the call it shows the calling party as '98925259096562222' which is why we get a fast buy.  The 7 digit prefix 989-2525 is defined in the Route List Configuration, which has to be set otherwise I'm unable to call inbound.  What's adding the prefix?  Sometimes I'll see the calling party as '98925259892525' and the call does go through.

    Heya Carlo!
    When you say check if they are the same configured, you are referring to them both having the same selected partitions? I'm able to call the call center from my phone with the correct calling party number. 
    I'm using a translation pattern where I have a CTI port configured in the Called Party Transform Mask.  Under Called Party Transformations I have:
    Discard Digits: NONE
    Called Party Transform Mask: 2600 <---- this is the CTI port I have configured
    Prefix Digits (Outgoing Calls): BLANK
    Calling Party Transformation settings are blank.
    As for the Route Pattern, I have one configured using the route pattern* 9.1909[2-9]XXXXXX where the discard digits is set for PreDot.  I'm actually thinking the issue with discarding digits incorrectly is in the route pattern, still reading up on that part now.  What do you think with this info provided?

  • Wrong image size when placing

    When I try to place a picture in photoshop CS6 either from drag&drop in the application window or from the place command, my image gets automatically resized based on the resolution (pixels per inch) of my document.
    Example:
    I create a new blank document, 1000*1000px @ 300ppi.
    I have another image that I want to place in the document and this image measures 500*500px @ 100ppi.
    I then go to File->Place  and the image that appears is way too big.  In the Info panel, it says that the image is 1500x1500 and the transform settings at the top indicate that the image hasen't been scaled because both width and height are at 100%
    If I cahnge my document resolution (no resample) to 100ppi, the image has the right size when I place it.
    So my question is:  Is this normal?  Because it has never done that with past versions of Photoshop.  If it is normal, is there a way I can change this because placing an image based on it's physical (printed) size makes absolutely no sense.  1 pixel = 1 pixel.
    Thank you for your help

    Once you understand how Photoshop works you can batch some some things you create some actions for.  Size is difficult to deal with in actions and often you will have problems dealing with aspect ratios and image orientation.
    To automate a process well scripting is more powerful then actions for you can use logic to solve problem area involving sizing, orientation, aspect ratios and positioning.  You can size an image to cover an area then mask off any excess to virtually crop the image to the areas aspect ratio.  If you download my Photoshop Photo Collage Toolkit there are script that create composite that can deal with any size image.
    One script PasteImageRoll.jsx can past selected images into a document to be print on roll paper. Images will be tiled into the document some images may be rotated for a better fit for the tiles aspect ratio. Image will be resized to fill the tile area and masked to virtually make a center crop of the images.  Other scripts will place in images file into collage template as smart object layers. Smart object images layers will be scaled to fit the various templates images areas position over the area and masked to the area. Link Documentation and Examples for the toolkit and Link Paste Image Roll Script Information
    Scripting is very powerful you can even open image off the web using its URL even stack all the image on a web page using its url
    OpenImageFromWeb.jsx
    // OpenImageFromWeb.jsx
    // Copyright 2006-2009
    // Written by Jeffrey Tranberry
    // Photoshop for Geeks Version 3.0
    // modified by MLH
    // modified by JJMACK 2010
    <javascriptresource>
    <about>$$$/JavaScripts/OpenImageFromWeb/About=JJMack's OpenImageFromWeb.^r^rCopyright 2010 Mouseprints.^r^rJJMack's Script.^rOpen Image From Web as a Placed smart object layer!</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    Description:
    This sample script shows how to download images from a web server using the
    Socket object.
    // Note: Socket.read() parameter & behavior
    // Socket.read() will read or time out. It may not read all data fromserver. <---------------
    // Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
    // closed by the server.
    // enable double clicking from the
    // Macintosh Finder or the Windows Explorer
    #target photoshop
    // Make Photoshop the frontmost application
    app.bringToFront();
    // SETUP
    var html = "";
    var request = "";
    var url = "";
    var binary = "";
    var requesthtml = "";
    var socket = new Socket;
    var domain = "www.mouseprints.net" // the domain for the file we want
    var sImg = "/old/dpr/JJMack8btiSrgb.png"; // the rest of the url for the file we want
    var port = ":80"; // the port for the file we want
    // MAIN
    var url = prompt("Enter the image's full URL http://domain/full image path",url);   // prompt for domain name
    if (url != null && url != ""){
              if ( (url.indexOf("http://") != -1)  || (url.indexOf("HTTP://") != -1)  ) {
                        domainPathLength = url.length - "http://".length;
                        domainPath = url.substr(7, domainPathLength);
                        pathOffset = domainPath.indexOf("/");
                        domain = domainPath.substr(0, pathOffset);
                        sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
                        // Isolate Image name
                        var Name =  sImg
                        var imagePath = "";
                        while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                                  imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                                  Name = Name.substr(Name.indexOf("/") + 1 ,);
                        //alert("domain = " +  domain + " , Image = " + sImg + " Image File Name = " + Name);
                        if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
                                  var f = File("~/" + Name); // Image file name
                                  f.encoding = "binary"; // set binary mode
                                  f.open("w");
                                  if (socket.open(domain + port, "binary")){
                                            //alert("GET " + sImg +" HTTP/1.0\n\n");
                                            requesthtml ="\n\nDmain:" + domain + " Port" + port + " binary\n"
                                            request ="GET " + sImg +" HTTP/1.0\n\n"
                                            socket.write(request); // get the file
                                            var binary = socket.read(99999999);
                                            binary = removeHeaders(binary);
                                            f.write(binary);
                                            socket.close();
                                  else { alert("Connection to Domain:" + domain + " Port" + port + " Failed   ");}
                                  f.close();
                                  if (binary.length != 0) {
                                            //alert ("file length = " + binary.length );
                                            if(app.documents.length == 0) {
                                                      //app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
                                                      app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
                                            placeSmartObject( f );
                                  f.remove(); // Remove temporary downloaded files
                        else { alert("Invalid Image URL: " + url ); }
              else { alert("Invalid URL: " + url ); }
    else { if ( url == "" ) alert("No URL Entered"); }
    // FUNCTIONS
    function placeSmartObject(fileRef){
              //create a new smart object  layer using a file
              try {
                        var desc = new ActionDescriptor();
                                  desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
                                  desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
                                  desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
                                  desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
                        executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
                        activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
                        activeDocument.revealAll();
              } catch (e) { alert("Placeing file: '" + fileRef + "' failed"); }
    // Remove header lines from HTTP response
    function removeHeaders(binary){
              var bContinue = true ; // flag for finding end of header
              var line = "";
              var httpheader = "";
              var nFirst = 0;
              var count = 0;
              while (bContinue) {
                        line = getLine(binary) ; // each header line
                        httpheader = httpheader + line;
                        bContinue = line.length >= 2 ; // blank header == end of header
                        nFirst = line.length + 1 ;
                        binary = binary.substr(nFirst) ;
              if (httpheader.indexOf("Bad Request") != -1 || httpheader.indexOf("Not Found") != -1) {
                        alert (requesthtml + request + httpheader);
                        var binary = "";
              //alert (requesthtml + request + httpheader + "\nFile length = " + binary.length);
              return binary;
    // Get a response line from the HTML
    function getLine(html){
              var line = "" ;
              for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
                        line += html[i] ;
              return line ;
    StackWebPageImages.jsx
    // Copyright 2007.  Adobe Systems, Incorporated.  All rights reserved.
    // This script demonstrates how to download images from a web server using the Socket object.
    // Adobe's Socket.jsx Photoshop sample javascript
    // modified by JJMACK 2011
    <javascriptresource>
    <about>$$$/JavaScripts/StackWebPageImages/About=JJMack's StackWebPageImages.^r^rCopyright 2011 Mouseprints.^r^rJJMack's Script.^rPlaces Images used in a Web page as smart object layers in stack in a new document!^rOnly images embedded coded with path relative to the domains root will be Placed though.^rImages that fail to be placed may be Placed into the document using your browser right click to copy image URL.^rThen paste that URL into the OpenImageFromWeb script URL input field. </about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // Note: Socket.read() parameter & behavior
    // Socket.read() will read or time out. It may not read all data from server.
    // Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
    // closed by the server.
    // Settings
    #target photoshop
    app.bringToFront(); // bring top
    //if("en_US" == $.locale) { // display only US build
    //          alert("This sample script shows how to download images from a web server using the Socket object.");
    // Remove header lines from HTTP response
    function removeHeaders(binary)
              var bContinue = true ; // flag for finding end of header
              var line = "";
              var nFirst = 0;
              var count  = 0;
              while (bContinue) {
                        line = getLine(binary) ; // each header line
                        bContinue = line.length >= 2 ;  // blank header == end of header
                        nFirst = line.length + 1 ;
                        binary = binary.substr(nFirst) ;
              return binary;
    // Get a response line from the HTML
    function getLine(html)
              var line = "" ;
              for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
                        line += html[i] ;
              return line ;
    var socket = new Socket;
    var port = "80";
    var html = "";
    //if (socket.open("www.adobe.com:80")){
    //          socket.write("GET /index.html HTTP/1.0\n\n");
    //          html = socket.read(9999999);
    //          socket.close();
    var url = "";
    var url = prompt("Enter the Web page full URL the images are in like http://domain/index.html",url);   // prompt web page
    if (url != null && url != ""){
              if ( (url.indexOf("http://") != -1)  || (url.indexOf("HTTP://") != -1)  ) {
                        domainPathLength = url.length - "http://".length;
                        domainPath = url.substr(7, domainPathLength);
                        if ( domainPath.indexOf("/") != -1 ) {
                                  pathOffset = domainPath.indexOf("/");
                                  domain = domainPath.substr(0, pathOffset);
                                  wPage= domainPath.substr(pathOffset, domainPath.length - pathOffset );
                        else {
                                  domain = domainPath;
                                    wPage = "/";
                        // Isolate Page name
                        var pName=  wPage;
                        var pagePath = "";
                        while (pName.indexOf("/") != -1 ) {
                                  pagePath= pagePath + pName.substr(0, pName.indexOf("/") + 1);
                                  pName = pName.substr(pName.indexOf("/") + 1 ,);
                        //if (socket.open("www.adobe.com:80")){
                        if (socket.open(domain +":" + port)){
                                  //alert("GET page = " + wPage + " HTTP/1.0\n\n");
                                  socket.write("GET " + wPage + " HTTP/1.0\n\n");
                                  html = socket.read(9999999);
                                  socket.close();
                                  //var aImg = html.match(/src=\"\/images\/(.*?)\"/g);                    //  src="/images/~~~"
                                  //var aImg = html.match(/img src=\"(.*?)\"/g);                              // img src="~~~"
                                  //var aImg = html.match(/img src=\"(.*?)[\"?]/g);                    // img src=["|?]~~~" 
                                  //var aImg = html.match(/img (.*?)src=\"(.*?)[\"?]/g);                    // img ~~~src="~~~" 
                                  var aImg = html.match(/<img (.*?)src=\"(.*?)\"/g);                    // <img ~~~src="~~~"
                                  //var aImg = html.match(/<img (.*?)src=\"(.*?)[\"?]/g);                    // <img ~~~src=["|?]~~~"
                                  //alert("Image List\n" + aImg);
                                  if (null != aImg) { // parsed image tags
                                            //app.documents.add([width] [, height] [, resolution] [, name] [, mode] [, initialFill] [,pixelAspectRatio] [, bitsPerChannel] [,colorProfileName])
                                            app.documents.add(new UnitValue(1600,'px'), new UnitValue(1200,'px'), 72, null, NewDocumentMode.RGB, DocumentFill.WHITE, 1,BitsPerChannelType.EIGHT, "sRGB IEC61966-2.1" );
                                            for (var i=0; i < aImg.length; i++) {
                                                      var str = aImg[i];
                                                      imageNo=i+1;
                                                      //var sImg = str.substring(5, str.length-1); // remove "src=" & ["]
                                                      //var sImg = str.substring(9, str.length-1); // remove "img src=" & ["]
                                                      var sImg = str.substring(str.indexOf('src="')+5, str.length-1); // remove "<img ... src=" & ["]
                                                      try{
                                                                if (sImg.substring(0,7) == "http://" || sImg.substring(0,7) == "HTTP://")  { placeWebImage(imageNo, sImg); } // redirect image
                                                                else {
                                                                          if (sImg.substring(0,1) != "/" ) { sImg = pagePath + sImg ; }                               // image is relative to web page path
                                                                          //else { sImg = sImg.substr(1, sImg.length - 1) ; sImg = pagePath + sImg; }          // aways include web page path bad idea
                                                                          // Isolate Image name
                                                                          var Name =  sImg;
                                                                          var imagePath = "";
                                                                          while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                                                                                    imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                                                                                    Name= Name.substr(Name.indexOf("/") + 1 ,);
                                                                          Name= imageNo + " " + Name;
                                                                          //var f = File("~/socket_sample_" + i + sImg.substr(sImg.length-4)); // 4 = .gif or .jpg
                                                                          var f = File("~/" + Name ); // Temp File name
                                                                          f.encoding  = "binary";  // set binary mode
                                                                          f.open("w");
                                                                          //if (socket.open("www.adobe.com:80", "binary")){
                                                                          if (socket.open(domain +":" + port, "binary")){
                                                                                    socket.write("GET " + sImg +" HTTP/1.0\n\n"); // Adobe's site image link starts with "/"
                                                                                    var binary = socket.read(9999999);
                                                                                    binary = removeHeaders(binary);
                                                                                    f.write(binary);
                                                                                    socket.close();
                                                                          else { alert("Socket Open " + domain + ":" + port + ", binary Failed"); }
                                                                          f.close();
                                                                          //app.open(f); // Open files in Photoshop
                                                                          placeSmartObject( f );
                                                                          f.remove();  // Remove temporary downloaded files
                                                      catch(e){
                                            alert("Number of images found in page = " + imageNo );
                                  else { alert("No images found for " + url); }
                        else { alert("Connection to Domain:" + domain + " Port " + port + " Failed   ");}
              else { alert("Invalid URL: " + url ); }
    else { if (url == "") alert("No URL Entered"); }
    // FUNCTIONS
    function placeSmartObject(fileRef){
              //create a new smart object layer using a file
              try {
                        var desc = new ActionDescriptor();
                                  desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
                                  desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
                                  desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
                                  desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
                                  desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
                        executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
                        activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
                        activeDocument.revealAll();
              } catch (e) { }
    function placeWebImage(num, url){
              var socket = new Socket;
              domainPathLength = url.length - "http://".length;
              domainPath = url.substr(7, domainPathLength);
              pathOffset = domainPath.indexOf("/");
              domain = domainPath.substr(0, pathOffset);
              sImg = domainPath.substr(pathOffset, domainPath.length - pathOffset );
              // Isolate Image name
              var Name =  sImg
              var imagePath = "";
              while (Name.indexOf("/") != -1 ) {                                        // Strip Path
                        imagePath= imagePath + Name.substr(0, Name.indexOf("/") + 1);
                        Name = Name.substr(Name.indexOf("/") + 1 ,);
              Name= num + "R " + Name;
              //alert("domain = " +  domain + " , Image = " + sImg + " Image File Name = " + Name);
              if ( domain != "" && sImg != "" && sImg != "/" && Name.indexOf(".") != -1 ) {
                        var f = File("~/" + Name); // Image file name
                        f.encoding = "binary"; // set binary mode
                        f.open("w");
                        if (socket.open(domain +":" + port, "binary")){
                                  //alert("socket.write GET " + sImg +" HTTP/1.0\n\n");
                                  //socket.write("GET " + sImg +" HTTP/1.0\n\n");           // did not work
                                  socket.write("GET " + url +" HTTP/1.0\n\n");                    // use url to this server works
                                  var binary = socket.read(9999999);
                                  binary = removeHeaders(binary);
                                  f.write(binary);
                                  socket.close();
                        //else { alert("Connection to Domain:" + domain + " Port" + port + " Failed   ");}
                        f.close();
                        placeSmartObject( f );
                        f.remove(); // Remove temporary downloaded files
              //else { alert("Invalid Image URL: " + url ); }

  • Need Help Fixing A Flash In An Old Photo..

    Im working alittle bit with PS Elements 9 and Im having a problem trying to fix an older photo where the flash was to high at the bottom of the image and also theres these white single dots through the lower part of the image as well shown in the cropped image I uploaded. So if theres a way I might be able to fix these 2 things, I appreciate it, thank you

    Those white dots are in all channels...there's nothing to find...so the best your going to get is to use a blur technique to fill the white dots. There isn't enough there to get a good result with either the clone stamp or the healing brush.
    I got the above by duplicating the image then applying Filter<Noise<Dust/Scratches with a setting of Radius 3;Threshold 7. Next I used Filter<Sharpen<UnSharp Mask with settings of Amount 92; Radius 63; Threshold 0. (These settings worked on the PNG I downloaded from the forum but will likely need some adjustment on your full sized image.)
    It's not beautiful but at least it's less distracting than the white dots. I'd recommend using masking so you on|y apply the filters to a limited area. (See next paragraph.)
    Since the damage is only to the bottom of your image, add a layer mask to your filtered duplicate image. Grab the gradient tool and set your color chips to the default black and white. (Shortcut is D.) Press X to swap the color chips so that the Black color chip is the foreground color in your tool box. Set your gradient option to the linear gradient type in the options bar and select the black to transparent gradient in your gradient editor presets. Click on the layer mask in your layers palette. Hold your shift key in as you drag the gradient tool over areas of your image you would like to be unfiltered.
    (Note: You could have done the above reversed...fill mask with black paint to hide the filtered duplicate image; set the foreground color chip in the tool box to white and drag the white to transparent gradient in the mask to reveal the area you want to filter.)
    I'd try to get her curls as the transition area to bring them back a little from the filtered effect. I think the hair ends in my filtered version are a bit too soft. I think you could get away with the neck and her blouse being soft.
    Above is the filtered version of your forum upload that is masked to get some texture back into the hair. I used a brush to with black paint to bring back the hair ends. I used Gaussian blur on my mask to soften my transition edges. I went back and used brush to touch up mask as you can tell if you look at the screen grab of the mask for this version shown below. Ends show some spot but I think it's preferable to them being too soft (gooey) as in my first example which is purely filtered.
    Above hand painted mask to bring back hair ends in example.
    Example of using a layer mask to hide part of a filtered layer. This is Photoshop but with PSE 9 you also have the ability to natively add a layer mask.
    A video on how to use layer masks in PSE 9 is linked below.
    http://www.photoshopelementsuser.com/featured/elements-9-easy-layer-masks/
    Rules of masking...
    Black masks or hides masked layer...black in my example hides the duplicate layer which has color variations applied...the original image is visible where black appears in the mask.
    White areas of mask reveal masked layer...notice the areas in my image corresponding to white areas of the mask are a purple hue...filtered duplicate layer is visible in areas where the mask is white.
    Gray areas are semi-transparent...think transition or feathering. You might also call this fading.  Darker shades of gray are more opaque (hide more of masked layer...black being fully opaque)  while lighter shades of gray are more transparent (reveal more of layer...white being fully transparent).  Areas in my example (center portion) gradually transition from the original image to filtered duplicate layer.
    Tip 1: You can click that chain between the mask and image to unhook the layer and mask. Click on the mask then use the free transform command (Ctrl + t on PC; Cmd + t on Mac)  to adjust the gradient placement in the mask.  It's a good idea to click the chain area again and reattach the chain as it keeps you from accidentally moving the area masked.  
    Tip 2: If you mask the opposite of intended, you can invert the mask to reverse masked areas. (Ctrl + i if using PC; Cmd + i if using a Mac.)

Maybe you are looking for

  • Creating Backup Files

    Hello, I have a VI designed to a user to write and update data that is displayed on a tree.  The data can be saved to an XML and can be opened for later use and updating.  My question, is it possible to tell Windows to copy the XML file and paste it

  • Same portal user logins when open in new tab/window

    hi all, i've any issue, how can i use the portal with different logins (ie) in different tabs or windows. currently i've to logoff everytime to login as a new user, is something to do with ie settings? tnx, JB

  • Change in the program

    the following program modification has to be done such that  it takes input  from the  application server  and not from the   presentation server. *& Report  ZFI_OPENITEM5                                               * REPORT  ZFI_OPENITEM5  no stan

  • Help with snow leopard

    Just installed Snow leopard and found a folder that said All Documents with over 9,000 documents in it. It looked like old stuff so I trashed it! And emptied the trash! When i went on today several folders were empty. Help!

  • I found the answer for windows users error 2330

    1- Go to Microsoft.com 2- Scroll down to support (On the right) 3- In the search box enter 290301 4- Click on Description of the Windows Installer Cleanup utility 5- Scroll down page (Before grey area) Download the Windows installer cleanup utillity