How to replace the image on the layer using after effect API

Hello everyone,

I have a big problem, I need to replace the image on the layer using after effect API.

Create a new film with my new image:

AEGP_FootageH footageH = NULL;

ERR (suites. FootageSuite5()-> AEGP_NewFootage (S_my_id,

psd_path,

& key1,

NULL,

FAKE,

NULL,

(& footageH));

AEGP_ItemH layer_itemH = NULL;

ERR (suites. FootageSuite5()-> AEGP_AddFootageToProject (footageH, new_folderH and layer_itemH));

Then I have a film footageH Manager

and Manager of my layer to the old image.

AEGP_ItemH itemH.


Please

How to replace image on my layer exists?

I have founded not nothing in Google, Documentation and examples.

Hi mikhailv6888620 https://forums.adobe.com/people/mikhailv6888620>!

Welcome to the forum!

as I know there is no C API function for this.

You can get the ID of the layer comp element and use AEGP_ExecuteScript() to find

This point and change the source of the layer with the javascript API. (I do it

as follows in one of my plug-ins)

the text of this script is entirely internal in your plug-in. the user

does not know that a call to java is involved... (if that matters to you)

Tags: After Effects

Similar Questions

  • How to change the language in after effect

    How to change the language in after effect

    Start here.

  • How to clear the Cache Adobe After Effect? I can't find file after effect project

    Hello everyone I need help to solve this problem

    1.jpg

    and when I try to go edition-> Preferences-> media & Disk Cache

    I can't click the button clear the Disk Cache. his show like this

    2.jpg

    I see in youtube and other optional, I should go after effect project. But I have not found this file

    So what should I do to solve this problem? Help the community. Thank you.

    No one can tell you anything without the proper system or other technical details info. That said, it just seems that you have disk access problems on your system completely unrelated to AE. You need to fix this and then maybe the disk cache actually work...

    Mylenium

  • How to start the German verion After Effects CS4 in English!

    Hey everybody,


    I would like to know how I can run my German English CS4 version.

    In cs3, it was possible by simply adding-L EN to a shortcut.

    Unfortunately, it does no more work...

    Anyone know how?

    Thanks in advance!

    Best,

    Alex

    I have a blog post about it:

    "running After Effects in English, even if you have installed it in another language.

  • How change set the DPI in After Effects settings? I could create a custom of the DPI setting?

    Thank you

    DPI does not exist in AE.  The concept of DPI is not relevant in AE.  AE deals only with the dimensions determined by the number of horizontal and vertical pixels.  He cares nothing about how closely pixels are stuck together.

    Image 6-inches of width to 100 dpi is 600 pixels wide in AE.

    Image 1-inch of width to 600 DPI is 600 pixels wide in AE.

    Do you see a difference?  N (no) If you're AE.

  • How to export the format imx50 after effects or premiere pro or encode

    Help please!

    my lack of customer is a format of imx50 out for sony.

    I don't know who makes it. If anyone can help please.

    Thank you

    Eugene a.

    This is the format of MXF OP1a.

  • Still, the buttons and After Effects

    I try to use After Effects to create a button - I was looking at Lynda.com and I think I know how to create the button in After Effects, BUT when I import via dynamic link, the Composition and the button in again, still does not recognize the botton that I created a button, therefore, I have no way to link my video to the button.  Any help would be appreciated - thanks!

    I was able to answer my own question - you need to import the project in Photoshop.  You can create buttons here.  Here's the only really good tutorial I found and it's big - http://www.videocopilot.net/tutorials/dvd_authoring/ - one thing I discovered, is that there are different ways to accomplish the same thing when you create DVDs.

  • How to replace the default loading of wecenter (ss.gif) image.

    Hi all
    I'm working on customizing webcenter.
    Can someone provide me how to replace the image that is displayed before loading webcenter content gets default loading of webcenter.

    Appreciate a quick response.

    Thank you
    Arun.

    If this is the start screen, you speak of, a custom skin setting these selectors may work - af | document: splash-screen, af | document: splash-screen-content, af | document: splash-screen-message and af | document: splash-screen-icon.

    Please note that I have not tried these myself.

  • How to make the window disappears after minimize instead of becoming the output of the image?

    How to make the window disappears after minimize instead of becoming the output of the image?

    Hi Sam,

    This issue may have caused due to infection by the virus or system files missing or damaged or because of the corruption of the user profiles. I would like to know some information about this problem so that we can help you further.

    1. have you made changes on the computer before this problem?

    2. do you get any error code or error message while starting?

    3. have you checked if the problem occurs on a different user account?

    I would suggest trying the following methods and check if it works for you.

    Method 1:

    Run the Microsoft Safety Scanner and check if there is any threat of viruses found.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. During these 10 days, it will remove all the files infected by the virus and records. I suggest you create a backup of your data, and then install Microsoft Safety Scanner.

    Method 2:

    Run the System File Checker scan and check if it helps. This will help you to find and replace missing or damaged system files.

    See the following article from Microsoft Support to run the System File Checker.

    http://support.Microsoft.com/kb/929833/en-us

    Method 3:

    If you have not checked if the problem occurs on a different user account are not, then try again to create a new user account and check if the problem persists. This is to check if the problem is caused due to the corruption of user profiles or not.

    See the following article from Microsoft Help to create a new user account.

    http://Windows.Microsoft.com/en-us/Windows/create-user-account#create-user-account=Windows-7

    If the problem does not persist in the new user account, then try the steps in the following article from Microsoft Help to fix the damaged user profile.

    http://Windows.Microsoft.com/en-us/Windows/fix-corrupted-user-profile#1TC=Windows-7

    Please reply with the status of the issue so that we can better help you.

  • How to replace the close on af:dialog icon

    Hi all

    How to replace the icon close [X] in af:dialog with NARROW text link.

    I know there is a way to hide the icon via css by setting af:dialog - close - region:display: no

    But how to replace the CLOSE text icon.

    Use Jdev version 11.1.1.5.

    Use this:

    AF | dialogue: closing-icon-style.

    AF | dialogue: closing-icon-style: hover,.
    AF | dialogue: closing-icon-style: development,.

    AF | dialogue: closing-icon,.

    AF | dialogue: closing-icon: hover,.
    AF | dialogue: closing-icon: update

    {- tr - inhibit: background-image;}   content: 'CLOSE' ;}

  • How to replace the contents of the settings/passwords backup server / current browser bookmarks?

    Classic scenario: after the bookmark long manual organization Firefox Sync adds trash of its server to my laptop or tablet.

    Where can I find how to replace the content of the backup of the server by settings/passwords / current browser bookmarks? Stupid me, I put a new synchronization and lost this ability.

    It is not recommended to go back to the old version of Sync

    The old version is removed he'll stop being available soon, it takes getting used to using the new version.

    IIRC, it is actually possible to force synchronization of the old working with Fx29 & Fx30 using an old profile or preferences of piracy, but I don't think I should encourage users to try this, but it would be better than using an older version of Firefox which is really bad. In fact using an old outdated version of Firefox is so bad, that it is customary to recommend using a browser on alternative day of someone else instead.

    Firefox ESR is aimed at corporate users, definitely, at the moment, it will use the synchronization of the former. Who will update soon to use synchronization well again, and this time, I guess the synchronization of the former will probably totally frowned upon for example are not available at all.

    It is possible to use the feedback system to leave a short comment on Sync. I would recommend this making, but at least to make very many people of spirit comments that I doubt will have no effect.

  • How to replace the optical drive on the Tecra R940

    Hi all.
    I search everywhere trying to see how to replace the ODD (optical disc drive) of a laptop Toshiba Tecra R940? pt439a-00n003
    its supposed to be easy, but can't get out.

    Anyone know where I can get some info on how to make the?

    Thanks for reading!

    I think that there are just one or two screws holding it on the basic coverage, it then behind the scenes.

  • Satellite Pro L50 - a: how to replace the memory, HARD drive and battery

    I just uploaded 2 new video from Youtube on the L50 - A. Satellite Pro

    The first is a tear down showing how to replace the memory, hard drive and battery (you can also clean the fan if it detects overheating).

    http://www.YouTube.com/watch?v=IG0lW7t92bI

    BTW why they made it so difficult to get just to the battery in this model?

    WARNING - proceed at your own risk and don't forget static precautions!

    Hope they help and if you have any questions let me know.

    + The message was edited: link has been removed ad channel may not +.

    Thanks for these videos. It may be useful to replace the memory, but I think that the owners of the laptop should not open the case. This may void the warranty.
    Be careful about this.

  • How to replace the CD/DVD-Rom on Satellite Pro 2100

    Hello

    My laptop's dvd - rom drive is old and broken, now that I have here an other dvd - rom drive, but I don't know how to remove the old dvd - rom without removing all parts of my laptop. Is there some service manuals how to replace the dvd - rom drive?

    Hello

    I m not 100% sure on the CD/DVD drive replacement on this laptop, but I assume that the procedure is very similar to other portable players.
    For the most part the ODD is secured with the screw at the bottom of the unit.
    You will need to remove this screw to get out and to swap the drive.

    But be careful and don t there if you have no experience!
    Moreover, not all readers are compatible and supported in reason parameters master/slave/c-salt. If you n t know which drives are compatible you should ask the ASP in your country for advice!

  • Qosmio G50 - 10J: how to replace the optical disc drive (ODD)?

    Hello

    the optical drive of my Qosmio G 50 does not work properly, it reads only some movie-DVD, but unfortunately not videogameDVDs at all, so I can't install any games.
    The guarantee is also outdated. So I wanted to ask if it is possible to change the disk myself, if it is then how I had to do and if by the laptop would be in
    risk to get damaged?

    I would be very grateful for each tip and all the help guys can give me!

    Best regards
    a.z.

    Hello

    In various cases the ODD replacement is very delicate.

    If you wish, you can consult this forum category.
    Here you will find some videos how to replace the ODD on the different laptop models:
    http://forums.computers.Toshiba-Europe.com/Forums/Forum.jspa?forumid=115

    This is also a nice Youtube Channel which provides the instructions how to replace the ODD:
    http://www.YouTube.com/user/toshibaeuropesupport

    But the ODD laser lens may be dirty. In my case I could solve similar problem, cleaning the lens of the laser by using a cotton ball and alcohol tip.
    But make sure that this!

Maybe you are looking for