Calling the XNormal dilation photoshop filter via script?

4 replies [Last post]
User offline. Last seen 1 year 38 weeks ago.
Posts: 4

Hi there,

I've been using the Xnormal dilation filter for a custom sprite solution and it's working like a dream so far.

How could I call the filter via script? There are potentially many hundreds of frames of animation.

 

For example, using Javascript, I would call a gaussian blur on the actveLayer via:

docRef.activeLayer.applyGaussianBlur(5)

 

Thanks in advance! Smiling

User offline. Last seen 1 day 6 hours ago.
Posts: 612

In theory, I expose the xN's photoshop plugins to the scripting system although I've not tested with Javascript. Pls, try with

Dilation ( #of pixels ).

For example : "Dilation(5)".

And pls sure you have defined an alpha channel ( with the written pixel mask ) or the plug-in won't work.

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 1 year 38 weeks ago.
Posts: 4

Thanks! I'll give it a shot... 

User offline. Last seen 1 day 6 hours ago.
Posts: 612

Do you know how can I call an external filter from Javascript in Photoshop to test, pls?

AFAIK it can be only done saving and action and, then, playing it.

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 1 year 38 weeks ago.
Posts: 4

Yeah I figured as much. I just used the script listener to record the action, then copied the bits of the transcript which made sense.

This Post needs Your Comment!

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?