Copier le lien dans le Presse-papiers
Copié
I am looking for a way to create an opacity mask through JavaScript. My program has the correct items selected, I just can't seem to find any documentation about creating an opacity mask. If I run the program as is, I just need to click one button ( "Make Mask") and the desired process is completed. Of course I would love to find a way to do this programmatically.
If I cannot access Opacity mask, is there a way to manually do this through grouping and blending or something?
Here is a pic of what I want to do... Thanks for the help
Copier le lien dans le Presse-papiers
Copié
Sadly like many things, I don't think it's available via scripting, unless something has changed with the CC version which I doubt.
Copier le lien dans le Presse-papiers
Copié
Yikes! what I am trying to do is make a program that creates a simple reflection of an image. In the UI, I was just copying the image> reflecting it > shifitng the reflection down > creating a white to black gradient rectangle over the reflection> then creating an opacity mask of the reflection and the gradient.
The very last step in the program is the opacity mask, ARG! Hehe oh well.
I am going to try to think about a work around, maybe adjusting the opacity of the reflection and the gradient seperately.
Anyway, if anyone else has any info on scripting an opacity mask, lemme know!
Thanks
Copier le lien dans le Presse-papiers
Copié
I haven't found a way or seen anyone working with opacity masks either...
if you could record "Make Opacity" as an action, you could then play such action via Javascript.
Copier le lien dans le Presse-papiers
Copié
Might it be possible with Graphic Style?
Copier le lien dans le Presse-papiers
Copié
I too was wondering about an action or graphic style, each might be a viable option, good call gentleman.
Copier le lien dans le Presse-papiers
Copié
Here is a silly idea: duplicate your image, reflect it over the bottom downwards, duplicate it 10 times and set the opacity of each piece at increments of 10 from 100 to 0, then calculate a vertical distance and use to produce 10 clipping masks, each one over the 10 images respectively, to slice them up and create a rugged fading reflection effect. BUT, just when you think it can get no better: the masterstroke! Group the new images together and stick a pre-made Gaussian Blur style on that sucker! Limitations be damned!
Oh yes, I actually have a screenshot of this beauty right here, for brewity only seen in 5 steps in linear progression... Totally scriptable.
but only if one is completely desperate.
Trouvez plus d’idées, d’événements et de ressources dans la nouvelle communauté Adobe
Explorer maintenant