sampleImage() and vector layers

I am using sampleImage to scan an alpha channel of the layer with a great success.

Until I started working with vector layers.

Here are my questions:

The sampleImage function works differently on the layers form and text-

It scans the layer from dimensions of the composition and not the layer - which means that if a text layer is off the screen that the sampleImage will find not all pixels not transparent.

This is unlike the layers AV in which sampleImage scans the layer itself, regardless of the position in the model. So same transparent non-pixels who are off the screen of the computer are analyzed.

Anyway around this and enjoy a layer of text or form regardless of the comp? I think a very long way to get this done by using a double model resized to match the sourceRecAtTime of the form/text layer, the layer solo and analysis the precomp duplicate, but that seems to be a chore...

Another question, I've found is with layer of film vector (for example, an illustrator file) that has the collapse Transformations switch activated - sampleImage returns completely different values with this option disabled... did not understand the boss again.  Anyone encountered before?

Thanks a bunch

Roy

Since some versions, layers have a method sourcePointToComp() and compPointToSource(), so with the sourceRectAtTime method you should be able to scan the right area in coordinates of the layer, and then transform into the space of the model.

Xavier

Tags: After Effects

Similar Questions

  • Vectors and vectors and storage

    Hi, I'm new to the idea of a persistent storage. But I managed to just simply record a channel... that's all

    I will try to implement vectors with persistent storage.

    I want to however the following questions were answered.

    1. A vector can be stored on other things in addition to the elementary data types? For example a vector can store the Editfields or LabelFields with content?
    2. A vector stores objects; Does that mean that I can create a custom object and then make a vehicle more of one of my custom object? How to make a custom object?
    3. What is casting? What is its use?

    If you look at the doc for PersistentObject, you will find a list of objects that are implicitly persistent - this includes the String and vector.  If you look at the Persistable doc, you will find a list of other objects that are persistable.  If you want to create a persistent object, you can create using or extend them, by ensuring that all of the classes that are added to the object (or collection) implement also Persistable, directly or by implication.

    Note that you must explicitly define an as Persistable class.  If you say

    class MyString extends {String

    }

    then MyString is not persistent.

    I hope that now I understood and answered all of your questions!  Sorry to not do it at the beginning.

  • Can I copy the image adjustments in another image if I didn't not use layer styles and adjustment layers in Photoshop?

    I have several photos captured in similar conditions and have already adjusted one of the photos for my taste. I am a complete newbie and have just read layer styles and adjustment layers and did not them you use while editing. I simply clicked on the Image > adjustments and went from there. Would be really nice if there was a way I could 'redo' these adjustments on the other photos that I stupidly forgot precise adjustments I made. Is this possible? I use Photoshop CC 2014.

    Sorry but no, this is not possible. It was possible, if you had used adjustment layers instead of making the adjustment directly on the image.

    Using adjustment layers is the best way forward: it is non-destructive; It can always be changed later or even completely deleted, and he has a mask that allows you to restrict the adjustment on the only parts of the image. And it can be saved for later reuse...

  • Photos and vectors, images mean?

    Photos and vectors, images mean?

    Yes, 'Images' means pictures, Illustrations or vectors. Each image can only be one type of people. You do not get the same image in three formats.

  • Text and vectors from illustrator look pixelated CS6?

    Screen Shot 2013-05-24 at 8.26.23 PM.png

    I have attached a picture of my question. In Illustrator, my all my text and vector Graphics look badly pixelated, even in 100% zoom. I checked the preferences and anti-aliasing is enabled. If I save my file in PDF format and view it in PDF format, everything looks great. No idea why this is happening? I would appreciate any advice.

    OK, looks like retina was the problem. I installed a software update on an adobe application manager and who has done the trick.

  • Keyboard shortcut for "next" and "previous image", or the previous and following layers

    Hello

    I host and I like drawing with Photoshop paint tools, but to animate I need to "flip" - which is just quickly move from one drawing to the next, as you would with sheets of paper size: hunting and clicking the arrows is not feasible.

    Shortcut keys, or assignable buttons for previous and next images in the animation - or, more simple, for the previous and following layers function keys - would solve this problem completely.  This improvement could make Photoshop a viable animation program, in competition with paper plastic and Flipbook Animation.

    Is there at least a way I can download an add-on that would do this?

    Thank you

    Joe

    Do you mean something like:

    http://help.Adobe.com/en_US/Photoshop/CS/using/WSF7DD9B60-7866-4F01-915e-DE39F672E418a.htm l

    http://help.Adobe.com/en_US/Photoshop/11.0/WSF7DD9B60-7866-4F01-915e-DE39F672E418a.html

  • shape between AE and Illustrator layers

    Hello

    I wonder why most designers use illustrator to create illustrations in Adobe illustrator, and then exporting and their animation in AE rather than create directly in AE. This way is more profitable and easier.

    Thank you.

    There are a lot of tools in Illustrator to create vector illustrations. Illustrator also offers you the advantage of projects laying in layers. 95% of all my work vector for AE is in Illustrator, because it is faster and more effective, better adapted and designed for the illustration. Shape in the AE layers are somewhat clumsy, but if you need convert a layer to HAVE a form you can have access to all the tools of layer shape and effects with a single click. The only time where that I use layers of shape for the design work is when I go specifically for a shape as a Repeater layer effect. Even then, many times the layer will consist firstly in artificial intelligence...

  • Why keep you removing GREAT features as multi-frames and vector paint?

    The software is not everything becomes faster and each CC version has less and less. AFX is back to not using all the processors again.

    "The new architecture will allow a future version of After Effects to use CPU and RAM threads more effectively simultaneous multiple images rendering functionality could never."

    WHY? It worked fine in the latest version of 2014!

    Stop this!

    Pain of vector is a huge loss and now this?

    Please start treating your base as professionals who really RELY on your software users!

    Javier Castro wrote:

    The new architecture will allow a future version of After Effects to use threads processor and RAM more efficiently than the simultaneous multiple images rendering feature ever could. »

    WHY? It worked fine in the latest version of 2014!

    No, it wasn't. There were a number of effects or even some EXPRESSIONS that would kill multiprocessing. Seriously - the wrong kind of expression could kill and do all the rendering on a single heart. Good luck to know which of your layers in all your precomps to the offending phrase!

    Multiprocessing was a hack several decades old to try to make architecture of ageing of EI to use multi-core processors. When it worked, it was nice, but the system was NOT "fine." In fact, if you have spent a lot of time on these forums over the last years the chorus "broken multiprocessing" would be rather familiar to your ears.

    There are a few pieces of good news:

    1. There is a new version in preparation that will be better than the old. (Finally!)

    2. you can always use multiprocessing now. Simply, open a project in CC 2014 (even if it was created by 2015 CC) and make the. That's what I do. I do use the term better handling, more vivid interface, etc. in 2015 CC, then (if it's a project that would use multiprocessing), I visited in 2014 CC.

  • Placement of PSD in Muse (keep vector layers)

    So, to me, Muse is for those who like me. One can conceive, but can't code. Is mainly for designers without any knowledge of HTML or CSS. Well, I think that Muse needs to make some improvements to be really go - to a designer for web design tool.

    I always prefer from a Web site concept in Illustrator or Photoshop. It manages and renders perfectly the images, the texts and the vectors. Everything seems perfect pixel. That's why I prefer first to build an entire website in Photoshop, then export items and re - organize in Muse.

    The problem with this process is that it is very time consuming. When I discovered that I could put a PSD file layers in Muse, I was excited! BUT this feature is a bit late... All layers of the PSD are treated as a raster image. Logos and even some elements of text, I like to use SVG (which is awesome that the Muse can import SVG now). But this place PSD tool is useless to these smart object layers in the PSD file. This should be a feature to be added to reflect the new SVG support in Muse.

    On a side note / problem, Muse' manipulation of SVG files is quite poor. It is not something like the management of a vector in Illustrator or Photoshop. It has the loading wheel launch style when moved and size and has this curious white bar below each image in the preview of Muse. I wish that muse would make things right in the Muse. It's very frustrating as a graphic designer obsessed with pixel.

    Adobe, please take note and add them to your to-do list!

    Thanks for your comments, please feel free to add your suggestions in our ideas section. We are actively working to include more features.

    Thank you

    Sanjit

  • How to remove the default 'Contours' text when creating forms of vector layers?

    Hi all!

    You know the text, it adds to the layer name when you create forms of a vector layer who says the contours? Well, someone knows if it is possible to change it or remove it?

    It sucks to have to remove it manually, especially when there are a lot of layers and you took the time to prepare them in illustrator.

    Thankss,

    Oliver

    So the answer is no, there is no way to automate this process. There is no rename the lot for layers in AE, Illustrator, Photoshop, In Design or any other application I've ever used and that has layers.

  • How can I fix an alias smart objects and vectors?

    Since I bought and installed Photoshop CS6, I can import is more correctly smart objects from Illustrator.

    Vector in Illustrator:

    Screen Shot 2012-05-29 at 3.47.13 PM.png

    Pasted as a smart object in Photoshop CS6 (note the absence of half-pixels):

    Screen Shot 2012-05-29 at 3.47.57 PM.png

    JJMack wrote:

    .......  Because of dough does not create a Smart Object layers...

    You can paste the items copied from Illustrator into Photoshop as smart objects - just choose this option.

    Magneticbear: When you place your object in Photoshop, you have the Antialias checked (in the options bar) before commit you the transformation?  Without it, you would get the result of type you specify.

    Paulo

  • Help tip. The addition of vector layers using shape tool

    This is something that has annoyed me for a few versions and I'm sure someone has a tip for that.

    When I use the tool shape layer, I get a solid with a vector mask color. The tool always makes a new layer, whenever I use the tool. So to get around this, I take my shapes (one for each layer) and then use the path Selection tool and copy / paste between layers of shape layer.

    How can I draw another shape on a selected vector mask? (I want to build shapes composed of Pathfinder-like)

    Yes, press the SHIFT key to add to the current shape layer (vector mask).

    MTSTUNER

  • Substitution of variables on the matrices and vectors (50g)

    Hello

    With the | (where) the im function capable of quickly replacing the variables in an equation with the numerical values.

    for example (x - 2) ^ 4 + (x - 2y) ^ 2, {x 0 y 0}, | (Shift to the right, tool) gives 16

    Suppose I have generated the Hessian matrix and the gradient of this feature and would have the same substitution to get (50-4, 8 - 4) and (0-32).

    What is the fastest way to substitute these variables (| doesn't seem to work with this object)?

    Concerning

    Hi Teleboy,

    You can try:

    "{X 0 Y 0} |

    MAP

    or

    "{X 0 Y 0} | SIMPLIFY. "
    MAP

    or, for easy use write a small program to assign to a user key (for example the key tool;) (D)

    "1-> LIST {|}". + -> Map of PRG"--> corresponds to the arrow on the right. 256 library must be attached...
    can do

    {X 0 Y 0}    Your_Program (or user key)

    CARD apply a program to each element of a list, vector or matrix. For example:

    '(x-2) ^ 4 + (x-2 * y) ^ 2'
    [« x » « y »]
    HESS
    DROP 2-> LIST
    {x 0 y 0}
    then user_key will do the job for each item in the list

  • Map of tiara 2010.2 and vector USB CAN

    Hello

    is there a possibility to attach my Vector CAN tiara 2012.2 card?

    Thank you

    Yes, I think that there is.

    Vector is created a driver for the tiara.

    Here is the link:

    http://vector.com/vi_diadem_en.html

    You will get all the necessary information there and on Datasheet related tho this page.

    I hope that answers your question.

  • How to get the temperature, light intensity, altitude height, proximity, rotation_matrix and vector of rotation?

    Can get acceleration, azimuth, pitch, roll, and gps information.But,Could not get temperature, light intensity, altitude height, proximity, rotation_matrix, and rotation vector.
    
    Can you help me to figure out that it is supposed to work or not?Whenever tried to get these values, always show "zero".My code is at below. Does something wrong or just these valuses do not support in the Native SDK 2.0 beta 3?
    
    if (sensor_is_supported(SENSOR_TYPE_TEMPERATURE)) {        /*         * If the device does not support accelerometer then notify the user,         * clean up and exit         */        sensor_set_rate(SENSOR_TYPE_TEMPERATURE, SENSOR_RATE);        sensor_request_events(SENSOR_TYPE_TEMPERATURE);
    
        }temperature= sensor_event_get_temperature(event);fprintf(f,"%7.3f\n", temperature);fprintf(f,"%ld%d, %7.3f
    
    Thank your attention.
    
    sensor_event_get_rotation_vector
    
    
    sensor_event_get_illuminance
    
    sensor_event_get_rotation_matrix
    
    
    
    sensor_event_get_proximity
    
    sensor_event_get_altitude
    
    
    
    SENSOR_TYPE_MAGNETOMETER = 1
          SENSOR_TYPE_GYROSCOPE = 2
          SENSOR_TYPE_ALTIMETER = 4
          SENSOR_TYPE_TEMPERATURE = 5
          SENSOR_TYPE_PROXIMITY = 6
          SENSOR_TYPE_LIGHT = 7
          SENSOR_TYPE_GRAVITY = 8
          SENSOR_TYPE_LINEAR_ACCEL = 9
          SENSOR_TYPE_ROTATION_VECTOR = 10
          SENSOR_TYPE_ROTATION_MATRIX = 11
    

    There's no proximity sensor, and I suspect that the light sensor is not exposed through this API to our applications immediately, similar to what you see probably with the temperature probe. There is also no separate altitude sensor. GPS provides elevation information. Some devices (Xoom?) use something like air pressure to measure altitude but the PlayBook is not that.

Maybe you are looking for

  • new iphone 5 s with only 1520 max capacity

    Hello everyone I bought new iphone 5, no Ref, new, in the official store coconutBattery shows only 1520 + \-max ability I have full discharge battery and charge completely it did not help I called the apple service, they told me it's normal, max of b

  • iPod iPhone not recognized byiTunes AMD

    I'm picking up a PC of 1 year of my son. There no iTunes installed before installed and I checked all programs like Apple, support for mobile devices etc. work. When I connect my iPod Touch or iPhone that they are not recognized by iTunes. I ran thro

  • What is the ideal configuration for a new Mac

    Hi all First: the reason for this post For awhile, I'm faced with a problem on the Adobe software could not be resolved by all the good people at Adobe. The problem is that I can't use CC libraries to its full potential. All I can do is save the shad

  • Office Jet 8620: office jet 8620

    I have a desktop connected via USB Jet 8620. The PC has recently upgraded from 8.1 to win to win 10. The starting time is now very long, about 4 to 5 minutes. Remove the printer USB or shut off the power to the printer solves the problem. Does anyone

  • How to perform the reset operation after an operation?

    Hello I want to know the reset function. in my system, I'm dealing with a different instrument like power, GPS, GSM... in my system, I have 2 article to article 1, I put only ON and OFF of my devices and operation to the second section so that I have