It is currently 19 Feb 2018, 05:55

GIMP Python Fu ScriptsMirror Average 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/4
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

Mirror Average Script for GIMP

Post#1 by tim » 30 Jan 2017, 22:31


This script is just for fun.
To run this script you need 2 other scripts
1) set_all_layers_average_opacity.scm
2) seamless-helper-1.0.py by ofnuts

Script :download:
mirror_averaged.zip #
zipped .py file (unzip and put in your GIMP's /plug-ins/ folder)
(1.41 KiB) Downloaded 37 times
Menu Location: Python-Fu -> Mirror Average.

What the script does is duplicates your active layer, flip copy horizontally, average opacity the layers so that they show equally.
Then it flattens the image. Makes a duplicate layer of the result, and swap left right the copy, average opacity the layers again, then flatens the image.

Sample:
forest.png
before image
forest.png # (5.24 MiB) Viewed 475 times (Watermarked | Thumbnail)
forest_mirror_averaged.png
after image (with increased Contrast)
forest_mirror_averaged.png # (4.99 MiB) Viewed 475 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/4
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#2 by tim » 31 Jan 2017, 00:05


which can be used to make an interest horizontal banner because it is seamless(horizontally).
Attachments
banner.jpg
banner.jpg # (531.85 KiB) Viewed 462 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Conbagui
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 1/4
Posts: 736
Joined: 03 Nov 2016, 12:56
Cash on hand: 30,034.15 GLP
Gender: Guy
Location: Allentown, PA
Website: http://gimpnexux.blogspot.com/
Operating System: Windows
GIMP Version: 2.8.22
x 483
x 264
Puerto Rico

Post#3 by Conbagui » 31 Jan 2017, 00:42


Very nice Tim, It looks 3D, specially the the vegetation on the bottom. :gimp_clap:
0 x



Image

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/4
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#4 by tim » 31 Jan 2017, 00:55


Applied the script on my old profile image.
profile_original.jpg
profile_original.jpg # (1.97 KiB) Viewed 451 times (Watermarked | Thumbnail)
profile_mirror_averaged.jpg
profile_mirror_averaged.jpg # (2.9 KiB) Viewed 451 times (Watermarked | Thumbnail)
profile_banner.jpg
profile_banner.jpg # (21.69 KiB) Viewed 451 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

Post Reply

Last 20 Members Who Visited This Topic

taylor21 (1), User avatar gnerd (3)

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

Who is online

Users browsing this forum: No registered users and 1 guest