How to load photoshop action with JavaScript? -
How do I take action in Photoshop using my JavaScript scripting language? Adding Noise Delivery: Gaussian Percentage: 2% Texture Type: Canvas Scaling: 100 Relief: 3 Invert Texture Without Light Direction: Top Left
I think you want to apply two effects.
1) Noise Distribution
2) Texturizer
Before applying any effect, Should be selected.
You can name it
layerRef = app .activeDocument.artLayers.getByName ("Layer 1");
Then, you can apply Impact # 1 by the applyAddNoise method. This method requires the following types of threshold parameters:
Amount > Noise distribution {/ strong> (GAUSSIAN or UNIFORM)
Monochrome (Boolean -> true or false)
layerRef.applyAddNoise (2.0, NoiseDistribution.GAUSSIAN, true);
Unfortunately, I could not find any method or documentation that currently has Texturizer effect.
Hope this helps.
Mira
Comments
Post a Comment