scale layer

I have imported a Photoshop file with layers in motion but have a problem when moving from a layer of the Z axis. As you'll see in the example file 2 figures on the moved layer have increased in size. In all the tutorials example I've seen on this subject when you return to the view of the camera, after the move a layer, it seems that nothing happened, it's only when you switch to perspective mode you can see the change you made. I have accumulated my brain on this one, can someone please tell me what I am doing wrong and why the displaced layer is scaling upwards.

Work in 3D group, move the layer more close to and longer away from the camera, using Z axis.  When something gets close to you, it looks great.  Further away from you, it looks smaller.  It's exactly what it is supposed to do.

Tags: Professional Applications

Similar Questions

  • Problem strange rotoshape scale layer adjustment

    Using Mocha I rotoscoped my Player off a few sequences in composite order on top of something else.

    After you paste the shape data layer in AE, I'm happy with the roto, but now I need to adjust the position and scale. Change the position setting in the layer properties works fine, but when I adjust the scale, the rotoshape starts to go haywire. When the size of the layer increases, the mask around the rotoshape is left behind, although it is on the same layer. So if I rub forward in time, the position of the roto mask is returned to its original place too. There is no keyframes to this topic, the only thing I did a request is Mocha shape data. I'm doing something wrong, or is this a bug?

    See you soon.

    It works as it should - all the data Mocha is treated as absolute size project mocha, then from the model of the AE, not the layer. You can not simply evolve later. Before dial, then scale or insert shapes like Mocha masks...

    Mylenium

  • How to scale a layer after importation Mocha followed information

    On AE 5.5 more wonderful mocha and managed to get the track in AE and on my bed. Then I need to tweek the balance a little. If I use the control of scale layer it also scales the track info, so it now floats above the layer background (Tracked). This happens also in 3D space. I tried resizing first, and then paste the data from the track and vice versa. I'm kinda a newbie to AE so forgive if the solution is obvious. Thank you.

    I do this kind of thing all the time and you are missing something. I don't have time for a complete step by step, but try these ideas.

    1. First of all, make sure that the layer you want to apply the corners Mocha for tracking data is the same size as the composition.
    2. Apply tracking data.
    3. Before composing the layer that you apply tracking data to taking care to let all the data in the comp. do not move all attributes into the new composition.
    4. Open the demo and the single layer inside the scale.

    There you go. The same thing works if you dialed before the layer before applying the tracking data.

    The other option.

    1. After you apply the corner pin data, either add a cursor of expression to the layer of caterpillars.
    2. Add this expression to the scale property.

    value + [effect ("Slider Control") ("Slider"), effect ("Slider Control") ("Slider")]

    Another option.

    1. After you apply data pin corner on your layer, add a null value.
    2. Set the scale of the null value to 0.
    3. Add an expression for the scale property of the pinned corner layer by typing "value +"then drag the pickwhip to the expression of the value of the scale of the value null.»

    It's your choice. They all work perfectly. There are at least one technical other dozen I can think.

  • How can I read scale boxes paragraph?

    Hello

    I'm reading some text boxes values in photoshop for an export script I'm working on. I came across a problem that I can not understand, I hope it's just a small thing.

    When reading the text of paragraph values, there are some cases where the values will come out wrong. For example:

    I have a layer with the text of the paragraph by indicating that paragraph (text box) size is 400 px by 400 px and the font size is 60 points.

    If I am running a script similar to this:

    [code]

    Get the text layer and save ir to a variable named layer.

    If (layer.textItem.kind is TextType.PARAGRAPHTEXT)

    {

    Log ("Width:"+ layer.textItem.width.as ('px') ");

    Log ("size:" + layer.textItem.height.as ('px'));

    Newspaper ("the font size:" + layer.textItem.size.as ('pt'));

    }

    [/ code]

    My output reads as follows:

    [code]

    Width: 200

    Height: 200

    Font size: 30

    [/ code]

    Which is obviously false, because all values are half of what they should be. I have other layers of text in the same file that print the correct values!

    After trying a lot of different things, I thought a way to reproduce the error, but not a way to remedy, it is here:

    -Create a new layer of paragraph text by clicking and drag using the text tool, make the text box about 200 px 200 px

    -Type text in the box of

    -Select the text and make it 30pt size

    -Complete text

    -Make sure that the text layer is selected

    -Press command-t (ctrl + t in windows)

    -In the free transformation parameters, manually type 200% for both with and height

    -Accept changes of transformation

    -Use the text tool, and then select the text of the layer

    At this point, you will notice that the text box reports its size as 400 px by 400 px and font size says pt 60, far, everything is logical, the question arises when you look at the info tab, scale is reported as being 200% for width and height and if I use the previous script printed sizes are the origin of the text box sizes : 200 px 200 px and 30 pt for the font size.

    At the beginning I have but it would be easier to use the horizontalScale TextItem as and verticalScale properties as well:

    [code]

    Log (' vertical scale: "+ layer.textItem.verticalScale");

    Log ("horizontal scale:"+ layer.textItem.horizontalScale ");

    [/ code]

    But even though we know that the scale is 200% the result reads:

    [code]

    Vertical scale: 100

    Horizontal scale: 100

    [/ code]

    Unfortunately that I have no control over how content is created, so I can't avoid using the tool of transformation on the text of paragraph, or of any text (this problem also affects the font size in single line text layers). So I need to find a reliable way to either read the correct values of the text or to read the scale that affects the text in my diaper.

    Any help would be appreciated. Thank you in advance.

    Dario Segura

    The font size, shown in the DOM model is the original size of the font used, if the text has been the transformation it must be multiplied by the factor of transformation.

    For example, create a text layer and change the text and then run the following code on the text layer...

    var domTextSize = activeDocument.activeLayer.textItem.size;
    var amTextSize = getTextSize();
    alert("DOM text size = " + domTextSize +"\rAction Manager text size = "+amTextSize);
    function getTextSize(){
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref).getObjectValue(stringIDToTypeID('textKey'));
    var textSize =  desc.getList(stringIDToTypeID('textStyleRange')).getObjectValue(0).getObjectValue(stringIDToTypeID('textStyle')).getDouble (stringIDToTypeID('size'));
    if (desc.hasKey(stringIDToTypeID('transform'))) {
                var mFactor = desc.getObjectValue(stringIDToTypeID('transform')).getUnitDoubleValue (stringIDToTypeID("yy") );
        textSize = (textSize* mFactor).toFixed(2);
        }
    return textSize;
    }
    
  • Resizing of Image CS6 problems

    I tried to resize these images, I bought on shutterstock for a book cover, and every time that I go to image > image size and put in smaller dimensions, it is resized my canvas together and not only the image! Can someone help me? This seems like an easy solution, but for some reason that I can't understand why it is not just resize my image. I tried Ctrl T and then enter the corner while the change of outfit and that will work, but my problem is when I export as .psd file and then place it in an Indesign file, the photos are all pixelated and blurry.

    You get a better understanding of basic Digital Image Processing and how Photoshop works.  Photoshop is quite complex and all operations are not intuitive.  Photoshop has to be learned and a huge learning curve, you need to understand the basics. Power of Photoshop is in layers and there are several types.  Tool generally work on a single layer, but the size of the Image is an exception, it works on all layers in a document.

    Image resizing is done in two ways, and is controlled by the resample checkbox.  When the checkbox is unchecked is not that a single Pixel will be changed . The picture is adjusted simply by changing the value of resolution of images.  The size of the image is change by changing the pixel size images will be printed. More you pixels the image will print the image will become soft, but if you use 1 foot x 1 foot pixels, you may be able to see the image 100 yards away on a billboard.  When the same image printed with "1/300 of 1/300" 90 000 pixels per square inch would be a simple point seen 100 yards away.   Scalability and the image by changing the Image resolution doe not change the proportions of images or effect the image quality.

    The other dimensions of the part resizes using resampling (interpolation).   When interpolate you an image you always lose image quality.   Not a single pixel you have for your image will be exist at the end of the process of interpolation.  You will have a whole new image. Celles‑CI are calculated by interpolation of pixels you currently for you image.  You will have more pixels or fewer pixels you had before the process of interpolation.  If you have less interpolation process by here a few details that you had prior to interpolation.  If you have more pixels the details of the created process interpolation for your image you do not capture the details, maybe. You can also change the proportions of the Image in the process will distort the image well.

    There are times to interpolate.  Images large high-resolution camera has reduced in the count of pixels to fit in the Web Pages for screens are not able to change the size in pixels. They display the image to their fixed resolution, they cannot display an image in the images resolution setting.

    If you want to view print clogs and personal to see the details of the image, you need to print at a high resolution and the need for the number of pixels to print the image to the size you want.  If the count of pixels you in deca interpolation upward in size can improve the print quality.

    How much image quality is lost by interpolation has a lot to do with how changing the grid size is.  If you through way too you some detailed left you create too many details, you have a soft blur.

    Convert your Image layer to a smart object layer and change just the scale layer live free transform and trim add a layer mask. Smart object layer pixel may not be actually interpolated just processing the composite view of dynamic object layer be changed.  In this way, you can change the transformation as several times if necessary and you worry about loss of image quality accumulates for the image of the dynamic object is still not turned the last transformation interpolation.

  • Variable effects with Loop function.

    I need to create a code that take the following strings:

    
    "Scale"
    "Position"
    "Side"
    
    
    
    
    
    
    
    
    
    
    
    

    And each of them, put in a copy of this code:

    thisComp.effect(!!!STRING HERE!!!)("Layer").name;
    
    
    
    
    
    
    
    
    
    

    And after that, the three variables, each one, receive a complete code.

    
    var a;
    var b;
    var c;
    
    
    
    
    
    
    
    
    
    
    
    

    The result would be this:

    
    var a = thisComp.effect("Scale")("Layer").name;
    var b = thisComp.effect("Position")("Layer").name;
    var c = thisComp.effect("Side")("Layer").name;
    
    
    
    
    
    
    
    
    
    
    
    
    

    I try to do it like this:

    var strings = ["Scale", "Position", "Side"];

    var val = function (a, b, c) {}

    for (var i= 0; I <channels.length; i ++) {}

    effectof the var = thisComp.effect () ('Layer') .namestrings[i];

    Val (effect);

    }

    }

    But don't have experience with functions and loops For.


    And not whether it is the right way to do it.

    I need to do this because my code becomes too long for many repetitions.

    I think for this, will have to use loop and the function.

    Thank you.

    You might have better luck if you describe what it is you are trying to do, rather than how you try to do, because it is not obvious (to me at least) exactly what your code is supposed to accomplish.

    Dan

  • Forest line continues speeds and zoomed out or say NO, but should?

    Here's my simple problem that I can't solve.

    I'll try to be as detailed as possible because I don't know what step needs to be corrected.

    I would like to create a view of the landscape seen by someone on a sled ride down the Hill.

    It starts with a winter in extreme forest clogged then the trees begin to move to the left so slightly, then speed up to the bottom of the Hill and then decelerate and zoom back a fine on the horizon line while slowing, but still moving to the left of the screen.

    How I decided to create this scene:

    1. I created a nice multi file layers in Illustrator with all the trees that overlap between them. The file is the width of the artboard maximum authorized by the Illustrator.
    2. I imported this file multi Illustrator layers into After Effects as a model with separate layers.
    3. I assigned slight movement in the layers of right left at different speeds. He adds a dimension to the view you see a line of trees behind the other at a slightly different speed. This step does not seem to create problems.
    4. I continued in the construction of the continuous line of trees extending to the right by duplicating imported Illustrator layers until I've reached the limits after effects Comp size of the canvas. I think it's to 30000 or 60000 pxls. The reason why I need big trees is because at the beginning of the animation we see at the very end upward with all the leaves and the branches visible. Then the line of the forest begins to move to the left and accelerates.
    5. Finally, it accelerates and zoom at the same time enough to end on the right. At that time, the trees are 50% the size of the screen. Reimport the layers of my tree and perfectly match them the couture and affect the speed and if it continues to pass in front of the Viewer to the left of the scale and I wander into perspective.
    6. And now everything goes wrong. I have perfectly match the original line points of tree and the extra trees limit. I see that well, they affect each other in the beginning of the movement and at the end.
    7. However, unexpectedly in the Middle, they start to overlap and move a little faster. For example: the left end of the second line of forest key the right end of the first line of the forest initially to 10 sec and it touches the same to end at 20 sec. However, at 15 sec it accelerates and directly past the right end of the first line of the forest. I tried to fix it by doing a keyframe to 15 sec and harmonizing again. It has two small jumps 12.5 dry and dry 17.5. If I continue to overlay on between frames the left end of the second line of the forest continues to make small jumps between the two. If I try to set the zoom at the again it messes up everything. I have set up my anchor to the left of the layer.
    8. I thought that the problem is with scale, so I did the 3D layer and began to cut a Z dimension but got the same result. The layers of jump each other and it does not appear as a continuous movement.
      POTENTIAL PROBLEM: I assign simple ease, facilitated in a deceleration, so my acceleration and deceleration were nice and smooth movement. However I tried to match the speed and the speed in the window options Key Frame (double click Alt on PC opens this dialog window) between the original and the extra lines of forest.

    I can't make this line of forest long enough in a static window that I arrived to the limitation of the width of the canvas size after Efffects. I need very large because it starts at extreme close and then zoomed out to extreme and a horizon.

    I can't make a moving line and keep patching up as movement is inconsistent and lines beginning to speed between keyframes and overlap.

    I have the problem, it's the combination of the right side to the movement of the left and the zoom motion (which I tried both ways: scale layer to a 2D layer and the Z Dimension in the 3D layer) but I can't match even the linear speed of the lines of forest from right to left. There may be a problem with how I'm trying to match it.

    I even rebuilt the entire project if anyone can list the steps how make a continuous line of patched up items synchronized, so that they seem like a continuous image line.

    Difficult to really grasp the situation without a few screen grabs, but some general thoughts:

    If all your elements are the vector art in Illustrator, the scale should not be a factor.  Set your Illustrator layers to continuously rasterize, and you get too close you like the layers with the camera and they will be always strong.  So you can work on a set of more small scale and not go beyond limitation of 30000 pixels of AE.  Which also means that you will not need to frame-match two environments.

    It seems to me that you are overloading the work.  Personally, I wouldn't combine camera movements and the zoom - the potential that ranged from focal lengths will be upset something is too big.  I would just do everything with the movement of the camera, using the X for movement left-right axis and Z axis to get close or continue to your subjects.  After Effects cameras simulate the way cameras of real world work, so it is best to approach the work as a real-world situation.  Build the world, and then animate the camera moving in this world.

    Don't forget that you can use Precomposed/Nested compositions to greatly simplify your work.  Make a bouquet of 10 or so trees in a model, and then use this nested pre model several times in your main computer.  Don't forget to condense the transformations of the pre comps.

  • intensification of the two layers without losing the position

    Greetings,

    I have two layers video, one a standard clip and the other a movement followed with a layer mask, akin to a null object. (I made the body of the girl, a red and black and white face)

    I have keyframes set on the hidden layer to the position of the layer and the mask shape.

    The two layers are at 70%. I want to intensify, but every time I do I lose the position of the face, it ends up by moving to the right. Is this a problem with scale something after that there position keyframes?

    A way to solve this problem?

    The closest thing I found an answer was a lame, akin to the scale layer then layer zero. But since I have already related to a face layer zero, I don't know where to go. This is a noob question I know and I looked for an honest answer! But I don't know yet how to phrase my terminology to search for it.

    You can parents as many times as you want. Nowhere is it written that your hierarchy cannot be at a deeper level...

    Mylenium

  • Layer of scale automatically according to the proximity of another layer

    Hello!

    I am trying to write an expression that will scale a layer down as another layer gets closer (simulating a UI jumping off the page as a the mouse cursor is on it). That's what I have so far (a term applied to the scale property of the target layer):

    x = Math.abs ((effect ('Mouse Layer') (1)).transform.position [0] - transform.position [0]);           distance from the target layer and the mouse on the x-axis

    y = Math.abs ((effect ('Mouse Layer') (1)).transform.position [1] - transform.position [1]);           distance between the target layer and right-click the axis y

    t = Math.sqrt ((Math.pow (x, 2)) + (Math.pow(y,2)));                                                                   the actual distance of mouse layer in the center of the target layer

    fadeDist = effect ("Fade Dist") (1);                                                                                             distance to which layer begins the scaling

    sMin = ("sMin") effect (1);                                                                                                           minimum scale

    sMax = ("sMax") effect (1);                                                                                                        full scale

    s ease = (t, 0, fadeDist, sMax, sMin);

    [s,];

    It works fairly well, but it is based on the distance between the Center of the target layer and the mouse, not the limits/edges of it. For this reason, scale the target layer becomes as the mouse moves around the area of the layer itself.

    Is it possible for me to write this expression which 1) allow me to refer to the distance between the mouse and the edges of the target layer (a rectangle) the factor affecting the scale of the layer and 2) maintains the balance of the rectangle while the mouse moves that it contains?

    Thank you!!

    This is probably not exactly what you are looking for, but it may give you some ideas. It seems to work for a rectangular solid. It evolves as the mouse layer approaches, but remains at the top of the scale, once the mouse is inside the solid:

    sMax = 150; Max scale

    sMin = 50;  scale min

    dMax = 100; When the scale starts to distance

    dMin = 0; When the scaling of the remote ends

    M = thisComp.layer ("Layer mouse");

    PM = M.toComp (M.anchorPoint);

    x = h [0];

    y = h [1];

    p = toComp (anchorPoint);

    xMin = p [0] - width * sMax/200;

    xMax = p [0] + width * sMax/200;

    yMin = p [1] - height * sMax/200;

    yMax = p [1] + height * sMax/200;

    If (x<>

    If (y<>

    d = length (pm, [xMin, yMin]);

    } ElseIf (y<>

    d = xMin - MP [0];

    } else {}

    d = length (pm, [xMin, yMax]);

    }

    } ElseIf (x<>

    If (y<>

    d = yMin - MP [1];

    } ElseIf (y<>

    d = dMin;

    } else {}

    d = h [1] - yMax;

    }

    } else {}

    If (y<>

    d = length (pm, [xMax, yMin]);

    } ElseIf (y<>

    d = h [0] - xMax;

    } else {}

    d = length (pm, [xMax, yMax]);

    }

    }

    s = linear (d, dMin, dMax, sMax, sMin);

    [s]

    Dan

  • Masking of the scale on the adjustment layer issues

    Hi all

    First of all I'm new to Premiere Pro. but I ran into a few problems that resemble bugs for me.  But if someone can put me right I would appreciate it.

    For example, I have a static image on a layer, revised downward to more small as the size of the total composition.

    I have an adjustment layer on it with an opacity mask, subtract blending mode, reversed.  The resulting crop all away from my picture out of the mask.  So far so good.

    If I then add keyframes to the scale of my image, I get a zoom effect, while the size of the image is the same (the size of my mask), that's what I want to achieve...

    However, a further review, there is a very faint line that shows outside of the mask, expanding outwards, which seems to be the contours of the image unmasked.  :-(  That is the number 1 issue.

    If I also add keyframes for opacity on the image, at the same time, I have a weird effect, almost as if the mask is ignored, because the image grows and becomes more opaque, but then finally catches up with the mask.  Almost as if, opacity, scale, and hide is just too much for the program to process.

    I tried rendering the project, but both of these issues show on the finished film.

    While experimenting with ideas to try to overcome the problem I also tried the feathers at the edge of the image... but giving still more bizarre results, with the edge to feathers, showing outside the masked area.

    Suggestions as to how I can get the result of desire would be appreciated.  (Who is to have an image, most smaller than the whole of the composition, but that remains the same size, zooms.  I would also like to be able to fade in).

    Thanks for reading and I look forward to your comments.

    Tim

    Running first Pro CC 9.1.0 (174)

    Mac OS X El Capitan 10.11.1

    27 "iMac

    3.2 Ghz intel core i5

    16GB 1600 Mhz DDR3

    NVIDIA GeFprce GT 755M 1024 MN

    Whenever I have similar problems, they are usually resolved by nesting the clips to force the order of effects.

  • layer of scale current canvas size Photoshop

    I've been googling and reading, but I was not able to find an action or method to select a layer, and they scale to the size of the canvas? This seems to be something that should be built in?

    Anyone know of a script or action that I can use?

    Sometimes, it must be able to evolve upwards or downwards.

    And I don't need to keep the proportions. The scale just to fill.

    Thanks for your help

    Maxi

    PS: I know Russell Brown paper Texture extension, charged layers are scale to fit the canvas.

    What is your units of the rule? I only get the error in CS6 if the rule per cent. If your rule is set to % I can add code to the script will correct the error.

  • Source layer to exchange but keep mask scale

    Hello

    exchanging the source footage layers with Alt + do drag new footage on layer works fine... but when the layer had a mask, the mask shape is changed... probably because the update layer comp has a different scale, even if he has not put A nationwide scale... scaling B B is just much higher. The mask of lock unfortunately did not help.

    No clue on how to preserve the original shape of the mask on the layer?

    Kind regards

    Frank

    You are replacing a layer with established and format horizontal & vertical dimensions of the pixels with the one that has different properties.  You can make a model with the same settings as the original layer, new layer inside and THEN use it when you replace images.  Masks will be just right.

  • Scale a layer so that it matches the size of the image. (Automation)

    I need to scale a layer so that it matches the sizeof the image.


    The problem is that I need to automate this procedure and apply on a series of images with different resolutions. (That's why I can't use CTRL + T and just drag the corners of the layer to adjust the image)

    The layer I need to resize is 2000 x 1500 pixels.
    The images I need layer to match varies from 3000 x 2000 pixels and 5000 x 4000 pixels. (I know all about loss of quality when I step up please don't give me a lecture this).

    No matter if the layer changes in proportions.

    I use Photoshop CS5.

    If you select the layer you want to resize, you can run the following script to do the resizing...

    var startRulerUnits = app.preferences.rulerUnits;
    var startTypeUnits = app.preferences.typeUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    app.preferences.typeUnits = TypeUnits.PIXELS;
    var doc = activeDocument;
    var docWidth = doc.width.value;
    var docHeight = doc.height.value;
    var LB = doc.activeLayer.bounds;
    var LHeight = Math.abs(LB[3].value) - Math.abs(LB[1].value);
    var LWidth = Math.abs(LB[2].value) - Math.abs(LB[0].value);
    var percentageHeight = ((docHeight/LHeight)*100);
    var percentageWidth = ((docWidth/LWidth)*100);
    doc.activeLayer.resize(percentageWidth,percentageHeight,AnchorPosition.MIDDLECENTER);
    align('AdCH');
    align('AdCV');
    app.preferences.typeUnits = startTypeUnits;
    app.preferences.rulerUnits = startRulerUnits;
    function align(method) {
    app.activeDocument.selection.selectAll();
       var desc = new ActionDescriptor();
               var ref = new ActionReference();
               ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
           desc.putReference( charIDToTypeID( "null" ), ref );
           desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
       executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
      app.activeDocument.selection.deselect();
    };
    
  • How to scale objects in one layer with each object in the same position

    I have a card with symbols on it, placed exactly where they should be. Is it possible to scale all the objects in a layer or group to be bigger, but not treat them as a layer that is stretched to scale proportionally? Basically, how could I do each larger symbol as if each is to be climbed from their centres?

    I tried to select a layer so that each object is selected, and then transforming them (specifying a percentage of the scale). As a result, the objects are enlarged, but it produces the same results as a normal click and drag the corner alignment point. Any ideas?

    Object--> transform each. Each object / group object must be properly structured and selected individually.

    Mylenium

  • Is it a way to Adobe draw to transform (move, scale, etc.) as part of a layer, not the whole layer?

    Imagine that you have drawn, in a single layer, a tree on the left side and a dog on the right. Now, you want to change then the tree is on the right. Is it possible to do? Or can only turn you an entire layer?

    Quick response, no.

    but there is a good solution.

    If your dog and the tree don't touch, you can:

    • Duplicate the layer
    • rremove dog of layer 1
    • remove trees from Layer 1 copy
    • move each individually

    If you want to just flop the layer, you can flip it horizontally, but your illustration will be back (does not work with the text. Also will not work if you want a dog "face inward" to move to the opposite side of the frame, but facing the same direction)

Maybe you are looking for