Sharpen script

Share your custom panels, brushes, papers... (you need to be registered to read posts in this section)
Post Reply
User avatar
KenC
Posts: 174
Joined: 14 Aug 2009, 09:28
Location: Denmark

Sharpen script

Post 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 :wink:
Attachments
kc-sharpen.grg
(1.13 KiB) Downloaded 248 times
There's no place like ~/
Elodie
Posts: 13912
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Sharpen script

Post by Elodie »

thanks KenC for sharing this =)
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Sharpen script

Post by Sewie »

Yeah,thanks!
I'll give it a shot and i'll let you know.
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Sharpen script

Post by Sewie »

..but it's a script, I see... What do i do with it ?
Where do I put it ??
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: Sharpen script

Post 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.
Quicktime is DEAD. Get over it and move on !
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Sharpen script

Post 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)
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: Sharpen script

Post 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.
User avatar
Sewie
Posts: 1310
Joined: 18 Jun 2008, 11:57
Location: The Netherlands, Europe
Contact:

Re: Sharpen script

Post by Sewie »

Ah. Thanks.
Michael Sewnarain - Website
Windows 11/64b Pro - TVP11.7.0 & 11.7.1 - Pro/64b - Cintiq32 Pro - Intel i7-12700K - 64Gb RAM
User avatar
KenC
Posts: 174
Joined: 14 Aug 2009, 09:28
Location: Denmark

Re: Sharpen script

Post 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.
There's no place like ~/
Post Reply