It is currently 20 Feb 2018, 23:17

GIMP Python Fu ScriptsJamac4k Pencil Portrait Script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/8
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 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 1207
x 258
Contact:
Canada

Jamac4k Pencil Portrait Script for GIMP

Post#1 by tim » 27 Feb 2017, 19:35


following steps described here -> Another way to make a pencil portrait
Requirement(s): This script requires G'MIC plugin.

:download:
jamac4k_pencil_portrait.zip #
Zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(2.24 KiB) Downloaded 69 times
:download:
jamac4k_pencil_portrait (2).zip #
version 2 (for G'MIC Qt)
(2.36 KiB) Downloaded 28 times
Script location: Python-Fu > Jamac4k Pencil Portrait...

Instructions:
1) Have a single image with a single layer of image you'd like to create pencil portrait of.
2) Run script. Set blur radius (33 is default and should work fine according to tutorial in description of steps).
3) Click OK, to run script and wait for magic to happen.
4) You can change brightness/contrast of the topmost layer named "adjust brightness contrast" and change color balance to your taste


Sample result:
oprah_pencil_portrait_sketch.jpg
oprah_pencil_portrait_sketch.jpg # (452.41 KiB) Viewed 1156 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
dinasset
Script Coder
View: Showcase | Slideshow
Topic Posts: 1/8
Posts: 718
Joined: 20 Jan 2017, 11:50
Cash on hand: 3,537.35 GLP
Gender: Guy
Location: Roma (Italy)
x 91
x 128
Italy

Post#2 by dinasset » 27 Feb 2017, 20:17


@ Tin, about what you wrote on GC
"...but how did you get that command string? is there an output of that somewhere when you run any gmic filter?"
third entry in Input/output, use "Verbose (layer name)", you'll get the command string used
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/8
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 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 1207
x 258
Contact:
Canada

Post#3 by tim » 27 Feb 2017, 21:45


thanks for letting me know Dinasset
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Ella
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 1/8
Posts: 757
Joined: 27 Feb 2017, 10:16
Cash on hand: 8,124.60 GLP
Gender: Gal
Operating System: Windows
GIMP Version: 2.9.5
x 44
x 405
Belgium

Post#4 by Ella » 22 Jul 2017, 19:16


A pencil portrait of Emma Watson.
Attachments
emma.watson.jpg
emma.watson.jpg # (135.62 KiB) Viewed 347 times (Watermarked | Thumbnail)
20160612231454.jpg
20160612231454.jpg # (84.94 KiB) Viewed 347 times (Watermarked | Thumbnail)
1 x



There is a crack in everything. That's how the light gets in.
(Leonard Cohen)

User avatar
Issabella
Script Tester
View: Showcase | Slideshow
Topic Posts: 1/8
Posts: 1962
Joined: 19 Jan 2017, 11:42
Cash on hand: 17,162.78 GLP
Gender: Gal
Operating System: Windows
x 231
x 505
Spain

Post#5 by Issabella » 22 Jul 2017, 22:03


This filter is one of my favourite ones. I love it. Thank you Tin, it was so kind of you to adapt it to the new versionof G'MIC. :D
Attachments
girl-2209147_Jamac4k_Tin_Drawing.jpg
girl-2209147_Jamac4k_Tin_Drawing.jpg # (153.76 KiB) Viewed 325 times (Watermarked | Thumbnail)
0 x



Issabella

User avatar
gnerd
Forum Member
View: Showcase | Slideshow
Topic Posts: 2/8
Posts: 1227
Joined: 19 Jun 2017, 22:29
Cash on hand: 8,235.60 GLP
Gender: Gal
Location: NC
Operating System: Windows
GIMP Version: 2.9.5
x 194
x 424
United States of America

Post#6 by gnerd » 25 Jul 2017, 04:16


tim wrote:
27 Feb 2017, 19:35
following steps described here -> Another way to make a pencil portrait
Requirement(s): This script requires G'MIC plugin.

:download:jamac4k_pencil_portrait.zip
:download: jamac4k_pencil_portrait (2).zip
Script location: Python-Fu > Jamac4k Pencil Portrait...

Instructions:
1) Have a single image with a single layer of image you'd like to create pencil portrait of.
2) Run script. Set blur radius (33 is default and should work fine according to tutorial in description of steps).
3) Click OK, to run script and wait for magic to happen.
4) You can change brightness/contrast of the topmost layer named "adjust brightness contrast" and change color balance to your taste


Sample result:
oprah_pencil_portrait_sketch.jpg
On the second one since it's a script does it go in the scripts folder under 2.0 or should there be a folder under 2.8? I don't want to make the same mistake I made with patterns and brushes, so felt safer to ask first. Thanks in advance, your scripts and plugins and help are wonderful, you really try to make it easy to use and navigate even for a newbie like myself :)
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 3/8
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 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 1207
x 258
Contact:
Canada

Post#7 by tim » 25 Jul 2017, 04:31


it depends what GIMP version you have. I am not sure what version you are using but it should go under that GIMP's /plug-ins/ folder.
0 x



aka Tin
Image gimplearn.net                                              

Post Reply

Last 20 Members Who Visited This Topic

saleh_oukiki (6), User avatar Pat625 (10), User avatar tim (14), User avatar gnerd (9), User avatar RJKD (1), User avatar oldmangrumpy (1), User avatar Issabella (3), User avatar Ella (5)

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

Who is online

Users browsing this forum: No registered users and 2 guests