It is currently 15 Dec 2017, 04:16

GIMP Python Fu ScriptsMagic Squares Script for GIMP (Showcase | Slideshow)

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

Administrator
View: Showcase | Slideshow
Topic Posts: 1/5
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 1004
x 217
Contact:
Canada

Magic Squares Script for GIMP

Post#1 by tim » 26 Jul 2017, 23:39


Lylejk mentioned Chuck Close, so I took a look at his work and came up with something similar but in squares (not painted shapes).
Here's the script (Warning: very slow script)
:download:
magic_square.zip #
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.7 KiB) Downloaded 19 times
:download:
magic_square (2).zip #
version 2. A little speed improvement
(1.83 KiB) Downloaded 10 times
:download:
magic_square (3).zip #
version 3. A little more speed improvement by drawing black at very beginning
(1.87 KiB) Downloaded 18 times
Script Menu Location: Python-Fu/Magic Squares...

Instructions:
1. Have an image opened with your active/selected layer as the layer you want to apply Magic Squares to.
2. Run script (Python-Fu/Magic Squares...). Choose your dimension (it'll be applying magic squares to that dimension) (Default is 20, Max 100).
3. Click OK to run script.
4. Let it run while the magic happens... it's gonna take a while and while it's running you can see it select the square it's working on.

Sample result:
emma_watson_magic_squares.png
emma_watson_magic_squares.png # (33.02 KiB) Viewed 226 times (Watermarked | Thumbnail)
1 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
Issabella
Script Tester
View: Showcase | Slideshow
Topic Posts: 2/5
Posts: 1629
Joined: 19 Jan 2017, 03:42
Cash on hand: 12,234.16 GLP
Gender: Gal
Operating System: Windows
x 156
x 424
Spain

Post#2 by Issabella » 27 Jul 2017, 00:52


Tin, another nice script with great results. The only problem is that it very slow as you said. Thank you so much. :gimp_clap:
Attachments
4_woman_Tin_Magic Squares.jpg
4_woman_Tin_Magic Squares.jpg # (411.07 KiB) Viewed 209 times (Watermarked | Thumbnail)
1 x



Issabella

User avatar
Steve Reid
Script Coder
View: Showcase | Slideshow
Topic Posts: 2/5
Posts: 74
Joined: 20 Jul 2017, 03:55
Cash on hand: 882.36 GLP
Gender: Guy
Location: Barrow in Furness
Operating System: Windows
GIMP Version: 2.9.5
x 37
x 13
Gimp Nation

Post#3 by Steve Reid » 27 Jul 2017, 06:16


That is a nice image Issabella, I like the way her hair has been rendered

I like the effect this script gives, I've tried a few variations one of which is shown below, its ok but loses the likeness of the subject. I think I might try it on the 4000 x 3000 original :shock: which may take some time
goose on tarn magic-square20.png
goose on tarn magic-square20.png # (386.02 KiB) Viewed 190 times (Watermarked | Thumbnail)
1 x




User avatar
Steve Reid
Script Coder
View: Showcase | Slideshow
Topic Posts: 2/5
Posts: 74
Joined: 20 Jul 2017, 03:55
Cash on hand: 882.36 GLP
Gender: Guy
Location: Barrow in Furness
Operating System: Windows
GIMP Version: 2.9.5
x 37
x 13
Gimp Nation

Post#4 by Steve Reid » 27 Jul 2017, 08:09


I tried it on a 2200 x 1650, I like it more than my first try but it took 58 minutes to run, so I guess the 4000 x 3000 would take 3 1/2 hours
2200x1650 sk900 58 mins.png
2200x1650 sk900 58 mins.png # (958.94 KiB) Viewed 185 times (Watermarked | Thumbnail)
1 x




User avatar
Issabella
Script Tester
View: Showcase | Slideshow
Topic Posts: 2/5
Posts: 1629
Joined: 19 Jan 2017, 03:42
Cash on hand: 12,234.16 GLP
Gender: Gal
Operating System: Windows
x 156
x 424
Spain

Post#5 by Issabella » 29 Jul 2017, 06:33


Tin, the current scripts have improved a lot about time needed to produce the result. You have done a good work. :D
Attachments
niñas_5_Tin_Magic_Squares.jpg
niñas_5_Tin_Magic_Squares.jpg # (222.51 KiB) Viewed 149 times (Watermarked | Thumbnail)
0 x



Issabella

Post Reply

Last 20 Members Who Visited This Topic

User avatar PhotoMaster (1), User avatar gnerd (3), User avatar Ella (1), User avatar tim (21), User avatar Issabella (5), User avatar Pat625 (2), User avatar RJKD (2), User avatar Steve Reid (5), User avatar Conbagui (1)

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

Who is online

Users browsing this forum: No registered users and 2 guests