It is currently 19 Feb 2018, 05:50

GIMP Python Fu ScriptsStroke Path With Gradient (With Miter [sharp edges]) (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 16/49
Posts: 2227
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,223.70 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 466
United States of America

Re: Stroke Path With Gradient (With Miter [sharp edges])

Post#8 by Pat625 » 30 Sep 2017, 01:52


Tin, I think there will be many possibilities with this one!
TinTran.Stroke Path.Tin Rocks Gimp.jpg
TinTran.Stroke Path.Tin Rocks Gimp.jpg # (476.36 KiB) Viewed 152 times (Watermarked | Thumbnail)
Just need smoother edges. Is this from the path or the script?
1 x




Registered members enjoy ads-free content
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 14/49
Posts: 2157
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,894.01 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1196
x 256
Contact:
Canada

Post#9 by tim » 30 Sep 2017, 02:07


The rough edges is because you're using version 2 it does a semi flatten so it makes your partial transparent pixel flatten with current background color. so you get rough pixels.
Try version 1 it's smooth.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 16/49
Posts: 2227
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,223.70 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 466
United States of America

Post#10 by Pat625 » 30 Sep 2017, 02:13


Had to try another one!
TinTran.Stroke Path.Pooh Bear.jpg
TinTran.Stroke Path.Pooh Bear.jpg # (258.91 KiB) Viewed 149 times (Watermarked | Thumbnail)
I cleaned the edges of my path before stroking, but still some jaggies.
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 14/49
Posts: 2157
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,894.01 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1196
x 256
Contact:
Canada

Post#11 by tim » 30 Sep 2017, 02:15


Try version 1 of script it's smooth.
Or version 3 with semiflatten = NO
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 16/49
Posts: 2227
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,223.70 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 466
United States of America

Post#12 by Pat625 » 30 Sep 2017, 02:54


Gee, you already have Version 3, and I just started to play with Ver. 2! You are quick, Tin!
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 14/49
Posts: 2157
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,894.01 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1196
x 256
Contact:
Canada

Post#13 by tim » 30 Sep 2017, 03:36


well version 3 is just to make that semiflatten step a toggle instead of always performing it it's not much of change.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 16/49
Posts: 2227
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,223.70 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 466
United States of America

Post#14 by Pat625 » 30 Sep 2017, 03:43


This one is with Version 3.
TinTran.Stroke Path.Flower.jpg
TinTran.Stroke Path.Flower.jpg # (514.44 KiB) Viewed 143 times (Watermarked | Thumbnail)
0 x




Post Reply

Last 20 Members Who Visited This Topic

User avatar Pat625 (98), dfkettle (2), User avatar LucivaldoSP (2), User avatar leopardo-40 (1), User avatar Issabella (6), User avatar Conbagui (4), User avatar gnerd (73), User avatar tim (167), User avatar RJKD (24), User avatar Wallace (1), User avatar animicule (13), User avatar Pegleg44 (25), User avatar oldmangrumpy (7)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: dinasset
2: Pat625
3: Issabella
4: Conbagui
5: tim
6: oldmangrumpy
7: dinasset

Who is online

Users browsing this forum: No registered users and 1 guest