It is currently 17 Dec 2017, 23:11

GIMP Python Fu ScriptsBrightness Contrast to inverted selection Script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
Post Reply
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/6
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 1006
x 217
Contact:
Canada

Brightness Contrast to inverted selection Script for GIMP

Post#1 by tim » 01 Mar 2017, 12:12


This script was requested by Wallace to perform these steps on visible layers
  • Alpha Select each visible layers
  • Shrink selection by 1 pixel
  • Selection to Path
  • Invert Selection
  • Apply Contrast and Brightness to each inverted selection
:download:
Brightness_Contrast_to_inverted_selections_to_visible.zip #
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.41 KiB) Downloaded 27 times
Script Menu Location: Python-Fu > Brightness Contrast to inverted visible layers...
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
Wallace
Forum Member
View: Showcase | Slideshow
Topic Posts: 3/6
Posts: 191
Joined: 11 Oct 2016, 14:24
Cash on hand: 1,330.17 GLP
Gender: Guy
Location: Arizona USA
Website: http://gimpchat.com
Operating System: Windows
GIMP Version: 2.8.18
My YouTube Channel
My deviantart Account
x 3
x 29
Contact:
Gimp Nation

Post#2 by Wallace » 01 Mar 2017, 12:26


tim wrote:
01 Mar 2017, 12:12
This script was requested by Wallace to perform these steps on visible layers
  1. Alpha Select each visible layers
  • Shrink selection by 1 pixel
  • Selection to Path
  • Invert Selection
  • Apply Contrast and Brightness to each inverted selection
:download:
brightness_contrast_to_inverted_selection.zip

Script Menu Location: Python-Fu > Brightness Contrast to inverted visible layers...
I downloaded the aforementioned py file,
ie. brightness_contrast_to_inverted_selection.zip.
This is what was inside the zip file. :(
See screenshot below...

Image
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/6
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 1006
x 217
Contact:
Canada

Post#3 by tim » 01 Mar 2017, 12:32


try again now I just uploaded the wrong file.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Wallace
Forum Member
View: Showcase | Slideshow
Topic Posts: 3/6
Posts: 191
Joined: 11 Oct 2016, 14:24
Cash on hand: 1,330.17 GLP
Gender: Guy
Location: Arizona USA
Website: http://gimpchat.com
Operating System: Windows
GIMP Version: 2.8.18
My YouTube Channel
My deviantart Account
x 3
x 29
Contact:
Gimp Nation

Post#4 by Wallace » 01 Mar 2017, 12:41


tim wrote:
01 Mar 2017, 12:32
try again now I just uploaded the wrong file.
That worked nicely.
Thank you Tim! :yay_yay_purple:

Now all I need,
is to be able to apply the brightness/contrast filter to all visible layers.
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/6
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 1006
x 217
Contact:
Canada

Post#5 by tim » 01 Mar 2017, 12:50


Wallace wrote:
01 Mar 2017, 12:41
tim wrote:
01 Mar 2017, 12:32
try again now I just uploaded the wrong file.
That worked nicely.
Thank you Tim! :yay_yay_purple:

Now all I need,
is to be able to apply the brightness/contrast filter to all visible layers.
Hopefully you have what you need: brightness-contrast-to-all-visible-laye ... r-gimp-481
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Wallace
Forum Member
View: Showcase | Slideshow
Topic Posts: 3/6
Posts: 191
Joined: 11 Oct 2016, 14:24
Cash on hand: 1,330.17 GLP
Gender: Guy
Location: Arizona USA
Website: http://gimpchat.com
Operating System: Windows
GIMP Version: 2.8.18
My YouTube Channel
My deviantart Account
x 3
x 29
Contact:
Gimp Nation

Post#6 by Wallace » 01 Mar 2017, 13:00


tim wrote:
01 Mar 2017, 12:50
Wallace wrote:
01 Mar 2017, 12:41
tim wrote:
01 Mar 2017, 12:32
try again now I just uploaded the wrong file.
That worked nicely.
Thank you Tim! :yay_yay_purple:

Now all I need,
is to be able to apply the brightness/contrast filter to all visible layers.
Hopefully you have what you need: brightness-contrast-to-all-visible-laye ... r-gimp-481
Yes! :happy_purple:
0 x




Post Reply

Last 20 Members Who Visited This Topic

User avatar Pat625 (1), User avatar gnerd (1)

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

Who is online

Users browsing this forum: No registered users and 2 guests