How to re - apply a mask after changing the alpha channel?
Hello
I am writing a plugin that modifies the alpha channel of the layer.
My problem is I want the mask effect to apply after my own effect.
For example, I found a few pixels that were originally invisible (their original alpha is 0 and I put it to the maximum), but I don't want to reveal the pixels that are killed by the mask.
I tried to use PF_MaskWorldWithPath, but how do I find the values that are used for the feather and opacity?
It seems possible to find them using AEGP_GetNewMaskStream, but I could not find any description of how to interpret the results, not to mention that it's very complicated to get all the handles that are required to use this feature because my plugin is not CEAP.
And on top of that, it doesn't seem to be a way to simulate the extension mask feature.
No idea how that was possible?
Thanks in advance!
My friend
you have stumbled upon something large and problematic.
Let's start the bad news:
You can not PF_MaskWorldWithPath make the expansion of mask for you.
It doesn't have this entry. to re-create a master expanded, you will need to make this mask on your own.
given there is no extension on one of the masks, you could use PF_MaskWorldWithPath on each mask and composite in transfer mode right on top of the other.
finding the original matte for the layer masks.
Yes, it's an awkward process, but it's the only way to use the mask data for a cache.
to read the pen, opacity, all other values of the mask, you use AEGP_GetNewMaskStream or AEGP_GetNewMaskOpacity (I don't know what functions separated for the opacity).
and then AEGP_GetNewStreamValue to access the actual numeric value.
There is another method, you can use, which is not perfect, but much easier to use.
get you initial pixel in the layer using a hidden layer param and PF_CHECKOUT_PARAM (or checkout_layer for smartFX).
compare these original pixels (which have no masks applied) to pixels in entry of the effect (with masks applied to them).
the difference between the two alpha is (for the most part) the matte of the masks.
assuming that your effect is first in the stack (or the first affecting the alpha), you should get one if bad no solution that would allow you to save a world of hurt.
trying to recreate precisely the masks.
There are even more complicated shapes, involving layers dummy and artificial effects, but it sems to me as if he didn't miss the point.
I hope this has helped.
:-)
Tags: After Effects
Similar Questions
-
How to install hp support assistant after changing the hard drive on my HP Pavilion TouchSmart
Hi all
I have recently updated my hard drive and install windows OS 8.1. Okay, everything works fine. But, to get the latest drivers from HP, I want to install: hp support assistant "application. I am trying to download and install, start the installation but not showing any progress.
I downloaded the folliwng to my product page ' HPSupportSolutionsFramework - 11.51.0027.»
Any help will be really appreciated.
Thank you
MVR
Hi mvr
What is your exact model name, product number?
Try to download, register & then install from this page: http://www8.hp.com/in/en/campaigns/hpsupportassistant/hpsupport.html#.VI62_0Trb4c
Did you clean install Windows 8.1 or recovery media? Who was the operating system preinstalled on your laptop?
Concerning
Visruth
-
error printhead after changing the printhead in L7680
I have an OfficeJet Pro L7680 that is a few years old. Recently, I have noticed a decline in the print quality for mainly black, but also a little yellow, and after changing the black cartridge with no changes, I decided to change the Black/Yellow Printhead. So, I thought that if I'm trying to change a print head, I should change the other (cyan/magenta). I bought new Office Depot print heads. After replacing the print heads that I was able to print a page or two, and then all of a sudden the printer started saying there is a problem with the cyan/magenta printhead. I tried to remove and reinstall, the suppression and power reset and then put it back up, etc, but nothing moves it. I have not yet called HP, but I hope that when I do they will help because the print heads are under warranty until 2014, even if the printer is out of warranty. In the meantime, I thought I would ask here is - it possible I only have a print head of DOA? Or would it be the printer? Unfortunately I threw the old printheads immediately (stupid me) so I can't try that goes back to the old magent/cyan print head and see what happens.
Hello jmmarton.
Your chip printheads were damaged by inserting wrong while the transport is always on the right side. This document provides instructions on how to replace the printhead to the unit.
Use the link below to find how to contact HP phone support in your country.
http://WWW8.HP.com/us/en/HP-information/summary/WW-contact-us.html
See you soon!
-
Internet connection is slow after changing the MAC address
* Original title: win7... problems with internet after changing the WIRELESS card MAC address
I have win7 home ed... .i tried to change my WIFI MAC address of the card (I had a reason to do so), SMAC program change but I could not, the address remained the same... I changed my mind... has decided to forget about this topic... but unfortunately, I had a big problem (very probably)... the internet connection is too slow or stop a few times pages load too slowly or especially do not charge. downloads are always stop in network on Chrome error... I tried a different browser to check, but the problem exists with all explorers, it's big terrible trouble please help me (Note: this problem is related to some how with internet traffic... late night speed is much better, but not 100%... but of course not as speed) ", I had before changing to MAC)... Thank you very much
Hello
1. what made you want to change the MAC address?
2. what exactly happens while you are trying to connect to the internet?
3. you receive an error code or error message? If Yes, what is the full error message?
4 have you checked the issue in internet explore as well?
Please follow the steps below and we update with the results.
Method 1: Run the network troubleshooter, and check.
http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7
Method 2:
Please try following the steps provided in the article and check out them.
Windows wireless and wired network connection problems
For more information, see the articles and check out them.
10 tips to help improve your wireless network
http://www.Microsoft.com/athome/Setup/wirelesstips.aspx#fBid=hq7zl63PiZ9
Why is my Internet connection so slow?
http://Windows.Microsoft.com/en-us/Windows7/why-is-my-Internet-connection-so-slow
Why can't I connect to the Internet?
http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet
Let us know if it helps!
-
Unable to connect to APEX after changing the IP address of the server
Hello
After changing the IP address of my DB server, my DB works perfectly.
However, I can connect only to APEX locally using localhost in the URL. I can not connect to APEX of remote machines, although I can connect to the DB of remote machines using SQL Developer very well.
Do I need to make changes to the gateway PL/SQL embedded, that I use to connect to the APEX? How can I do?
Thank you very much
Best,
PeterHi Peter,.
>
After changing the IP address of my DB server, my DB works perfectly.
However, I can connect only to APEX locally using localhost in the URL. I can not connect to APEX of remote machines, although I can connect to the DB of remote machines using SQL Developer very well.Do I need to make changes to the gateway PL/SQL embedded, that I use to connect to the APEX? How can I do?
>
With EPG, you don't need to make any configuration changes, you have to work on the new IP/hostname.You could try running the following just in case wherever it may help, as SYSDBA
SQL> EXEC DBMS_XDB.setlistenerlocalaccess(FALSE); SQL>COMMIT;
See you soon,.
-
How to recover a file photo after emptying the trash
How to recover a file photo after emptying the trash on my Mac book pro?
Thanks for your response
Restore your time machine backup file.
-
How can I reactivate my iphone after activating the locking of activation
How can I reactivate my iphone after activating the locking of activation?
Entered successfully the Apple ID and password to enable find my phone.
-
HARD does not work after changing the disk partitions recovery media creator
Hello world
After installing windoows 8.1 April major upgrade (win 8.1 presents as OEM), and have shrunk C partition to create a data partition "D", "Troubleshooting" option under advanced start menu is no longer available.
Toshiba Recovery Media Creator does not work, too (it can not find any hard disk recovery partion).
I got in the OEM recovery partition.
I am also able to create a recovery using the Windows tool unit.
You have no idea about it?Thank you very much!
Hello
Sorry to hear about all this. Unfortunately, you now have a big problem. I don't understand why you didn't create support of recovery before you started to change the factory settings, including to change the structure of the partitions of HARD drive.
Mobile offered with factory settings a structure specific partitions and recovery recorded image is saved on the partition of drive specific and marked with invisible markers. These markers are visible for preinstalled Toshiba recovery media creator tool and when you start the tool can find points of reference and has full access to specific files.
Unfortunately, after changing the original scores structure Toshiba tool cannot find these markers more and is not able to copy files from recovery media recovery. What you need now is the original recovery disk. Using this disk, you can install original recovery image and after doing this, you will have new factory settings.
I know it sounds stupid now but you must order the original recovery disk and it can be done on https://backupmedia.toshiba.eu/landing.aspx
If you have any other questions you are welcome.
-
After changing the MagSafe adapter, macbook pro takes too long to start the video
After changing the map of 85 W MagSafe, time to start the computer has become excessive (2 minutes). The screen lights up immediately, but the video appears after 2 Min.
Once started, the performance of the computer are OK.
This anomaly occurs after the change of the adapter, it's never happened before.
Try a SMC reset:
https://support.Apple.com/en-us/HT201295
Ciao.
-
How I bounce back without having to change the setting of 'Protection against overload only' amateur off EACH time?
This setting should be preserved, once you set it... so I'm not sure why you have to define every time...
Then... Make sure that you put on ALL the tools of the art of logic in the preferences of LPX...
Otherwise... you may need to reset the prefs of LPX... Put all the Tools Advanced again and the other preferences you have set... and see if that fixes things for you...
You can resolve many issues by restoring Logic Pro X back to its original settings. This will not affect your media files. To reset your settings preferences of the user to Logic Pro X to their original state, do the following:
- Logic Pro X to quit smoking
- In the Finder, select go to folder menu reach.
- Type ~/Library/Preferences in the field 'go to folder '.
- Press the Go button.
- Delete the com.apple.logic10.plist file from the Preferences folder. Note that if you set custom shortcuts, it will reset to the default values. You can export your custom key as a preset before performing this step. See the Logic Pro X user manual for details on how to do this.
- If you are having problems with a control surface in Logic Pro X, you can also delete the com.apple.logic.pro.cs file in the Preferences folder.
- Restart the computer.
Note: If you cannot find the files listed above, you don't follow the instructions properly!
-
Satellite 4080 Xcdt, small image after changing the resolution to 800 x 600
Hello.
After changing the resolution to 800 x 600 or less (while playing an older game BACK), the screen is reduced to the size of the postcard.
Someone at - it an idea to solve this problem, (another driver display or s.th.)?Greetings, r.
Hi Ralf,.
In my view, there is a setting in the BIOS to force the screen image to stretch to fit the available space.
Kind regards
-
How to crop a video clip without changing the proportions?
How to crop a video clip without changing the proportions? I am aware of cropping can be done to change the height & width or both together. I want crops without changing the ratio width / 09:16
Thank you
Three functions of harvest are different. Use the harvest called an average.
-
After changing the password in windows server 2003, when the new password take effect?
Hello
In dealing with the problem with Windows Server 2003, it would be preferable to send the same in the Technet community. http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver/threads
Hope the information is useful.
-
Office Jet 6500 will not print after changing the ink cartridges
Office Jet 6500 will not print after changing the ink cartridges
Hello
This doesn't seem to be a problem with the printer itself and not Windows. I also suggest to contact the manufacturer. In this case, HP.
Please see here: http://www8.hp.com/us/en/support-drivers.html
-
How to enable Windows Defender back after getting the error 0x800106ba
could you please tell me how to turn on windows defender after getting the error 0x800106ba windows vista, thanks
If you have the following AV, antivirus, programs installed, close your Windows Defender. Purpose of these AVs have their own advocates. 2 defenders on the same machine will create conflicts.
Bottom line: it's ok. It's normal.
List of AVs which will stop Windows Defender:
Norton
McAfee
AVG
Microsoft Security EssentialsIf you don't have AV programs above, here's how to restart Windows Defender:
Start button > in the search box, type Services > press the Enter key > scroll to find Windows Defender, click on it >...
topic status , it must be said... Has begun
under Startup Type, it must be said... Automatic
If it does not say that, right click on Windows Defender > click Properties >
in Startup Type, click on the pointer to the right and select automatic
to the service status, click Start
Click OK when finished.
Maybe you are looking for
-
application problem "Chameleon Bob" in Firefox 29, help
application problem "Chameleon Bob" in Firefox 29, very small lineHelp...
-
New application of Crayola does not install
It's the kind of thing that really gripes me. The new 'App of the week,"yet another application of Crayola, is probably ready to download. I push the button downoad and, after an hour or two, I like the program is downloaded and installed. However
-
HP Deskjet 1515: HP 1515 does not print
Hello everyone, first of all, sorry for my bad English, it is not my mother tongue, but I hope that you will understand me. Today I bought a Deskjet 1515, installed correctly (I think...) and the test page was printed without problem. But, any other
-
HP250 J4R59ES #ABU: Wireless replacement for laptop HP250 J4R59ES #ABU card
Hello! I'll try to find a compatible wireless card to replace my laptop, but do not understand those that are compatible. Can you please help? Thank you! Heidi
-
I cannot send pictures into windows live mail. How this can be accomplished
I cannot send pictures into windows live mail. This can be corrected? Thank you