Page 1 of 1
Sharpen script
Posted: 30 Oct 2009, 08:14
by KenC
Idea from this thread:
http://www.tvpaint.com/forum/viewtopic. ... 576#p28541" onclick="window.open(this.href);return false;
Now that we have a command to set the blendmode of a layer I could finish my little sharpen script. The effect is somewhat similar to a highpass sharpen.
Currently only works on a merged single layer image so do a merge all before running this script on a multi layered project.
If anyone wants to take a stab at getting it working on an animated layer feel free
Re: Sharpen script
Posted: 30 Oct 2009, 08:33
by Elodie
thanks KenC for sharing this =)
Re: Sharpen script
Posted: 30 Oct 2009, 09:45
by Sewie
Yeah,thanks!
I'll give it a shot and i'll let you know.
Re: Sharpen script
Posted: 30 Oct 2009, 09:51
by Sewie
..but it's a script, I see... What do i do with it ?
Where do I put it ??
Re: Sharpen script
Posted: 30 Oct 2009, 10:34
by ematecki
Create a button in a custom panel, select "Embed script" in the first command popup, and paste the script there, confirm all windows.
There you are.
Re: Sharpen script
Posted: 30 Oct 2009, 10:43
by Sewie
Yeah, but I can't open Ken's script. So how do I copy-paste ?
(I'm sorry but I am a complete noob with this script-shit)
Re: Sharpen script
Posted: 30 Oct 2009, 11:16
by ZigOtto
Sewie wrote:Yeah, but I can't open Ken's script. So how do I copy-paste ?
(I'm sorry but I am a complete noob with this script-shit)
basically, a script is a text saved in "george"format ( (tvp script named "xxxx.grg"),
open it in any text editor, such as notepad f.i.
Re: Sharpen script
Posted: 30 Oct 2009, 11:33
by Sewie
Ah. Thanks.
Re: Sharpen script
Posted: 30 Oct 2009, 11:55
by KenC
Sorry should have added directions..
Normally your browser should ask you to save the script somewhere when you click the link. If not, try right clicking on the script link and chose "save as" and save it in the TVPaint /george folder (Create the george folder if it's not there allready, mine wasn't)
After that, add a button in TVpaint and right click and select edit.. Then add an action line "set script" and choose the script.
Then you can just click the button to run it, if there's a new revision for some reason (to fix a bug for example) you can just overwrite the original script and don't have to mess with buttons and embedded scripts, remembering what button had what embedded script.