It is currently 16 Dec 2017, 01:08

GIMP Python Fu ScriptsNelo Plaid Background Script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 7/16
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.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 1005
x 217
Contact:
Canada

Re: Nelo Plaid Background Script for GIMP

Post#8 by tim » 15 Feb 2017, 22:18


Very nice tree Graechan.
I don't think i'll add the flatten option, it's simple enough to do with 2 clicks. I like how simple the script is right now with just 2 options. hehe
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 7/16
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.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 1005
x 217
Contact:
Canada

Post#9 by tim » 15 Feb 2017, 22:19


Beautiful autumn leaves Pat.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
sallyanne
Forum Member
View: Showcase | Slideshow
Topic Posts: 1/16
Posts: 13
Joined: 10 Dec 2016, 20:39
Cash on hand: 50.00 GLP
Gender: Gal
Contact:
Australia

Post#10 by sallyanne » 15 Feb 2017, 23:30


Nelo's plaid background
Image
0 x



:red_heart: We are so insignificant compared to the known universe but we were significant enough for the creator of the universe to visit us. :red_heart:

User avatar
RJKD
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 1/16
Posts: 1212
Joined: 03 Oct 2016, 06:01
Cash on hand: 8,372.91 GLP
Bank: 0.00 GLP
Gender: Guy
Location: Sheffield UK
Operating System: Windows
GIMP Version: 2.8.20
x 1327
x 184
Contact:
Great Britain

Post#11 by RJKD » 16 Feb 2017, 05:16


With a drop shadow, really neat script, thanx Tin :gimp_clap:
Beckton_sunset.jpg
Beckton_sunset.jpg # (278.8 KiB) Viewed 296 times (Watermarked | Thumbnail)
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 7/16
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.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 1005
x 217
Contact:
Canada

Post#12 by tim » 16 Feb 2017, 10:46


Test to see if i can upload images.
IMG_0010.JPG
IMG_0010.JPG # (382.93 KiB) Viewed 280 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Graechan
Script Coder
View: Showcase | Slideshow
Topic Posts: 4/16
Posts: 34
Joined: 01 Jan 2017, 19:55
Cash on hand: 144.31 GLP
Gender: Guy
Location: Australia
x 9
Australia

Post#13 by Graechan » 16 Feb 2017, 14:50


As brought up by Abrass in GimpChat the Word "clipboard" should be avoided, below is my cure for scheme, just translate to python talk :golden_wilber:
In other languages the word "clipboard" does not exist, to set the clipboard pattern for all languages as the active pattern in scheme I used
(gimp-context-set-pattern (caadr (gimp-patterns-list "")))
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 7/16
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.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 1005
x 217
Contact:
Canada

Post#14 by tim » 16 Feb 2017, 14:58


Thanks Graechan, I'll see if i can translate it to python should be doable.

Edit:
this works

Code: Select all

pdb.gimp_context_set_pattern(pdb.gimp_patterns_list('')[1][0])
updated 1st post with version 2 that includes this change.
0 x



aka Tin
Image gimplearn.net                                              

Post Reply

Last 20 Members Who Visited This Topic

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

Who is online

Users browsing this forum: No registered users and 1 guest