It is currently 16 Oct 2021, 23:19

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP
Sponsored content for World Food Program

Paper Cutout Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger
1st Place
5539 Post(s)

Paper Cutout Plug-in

Post#1 by tim » 07 Oct 2019, 15:08


This was requested by mackenzieh here -> viewtopic.php?f=18&t=2548.
Paper texture can be found here => http://www.photos-public-domain.com/201 ... th-flecks/
paper_cutout.py #
(5.88 KiB) Downloaded 303 times
Plug-in Menu Location: Python-Fu/Paper cutout
Instructions:

Plug-in options:
paer-cutout-options.png
paer-cutout-options.png # (40.08 KiB) Viewed 4296 times (Thumbnail | Recognize | Sq Tile | LNFI)
  1. Have an opened image, with the text/image layer selected.
  2. Run plug-in. Browse to where the texture file is located for 1st input, and select background/foreground colors and blur-radius. Click OK to run.
  3. After plug-in finishes running, use a soft brush eraser and manually erase parts you don't want shadows on the "fg shadow" layer.
  4. That's it.
sample input/output:
paper-cutout-step-1.png
paper-cutout-step-1.png # (28.21 KiB) Viewed 4309 times (Thumbnail | Recognize | Sq Tile | LNFI)
paper-cutout-step-2-after-plug-in-runs.png
paper-cutout-step-2-after-plug-in-runs.png # (610.63 KiB) Viewed 4309 times (Thumbnail | Recognize | Sq Tile | LNFI)
paper-cutout-step-3-after-erasing-with-soft-brush.png
paper-cutout-step-3-after-erasing-with-soft-brush.png # (962.29 KiB) Viewed 4309 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

mackenzieh
Forum Member
42nd Place
38 Post(s)

Post#2 by mackenzieh » 07 Oct 2019, 15:57


Thanks, Tim. Do users have to use the texture that you supplied or can they use their own? Also, can colors also be used in place of textures?
GIMP Learn rocks...

tim
GL Blogger
1st Place
5539 Post(s)

Post#3 by tim » 07 Oct 2019, 15:59


you can use your own textures, if you want to use colors only then just create blank image and use that as texture.
The texture is 1st input which can be any image as long as it's an image so it can load and use as texture.
aka Tin
World Food Program | Good Deeds Forum

         

mackenzieh
Forum Member
42nd Place
38 Post(s)

Post#4 by mackenzieh » 07 Oct 2019, 16:30


Oh, okay cool. I tried the plugin on text and it works. How does it work on just an image?
GIMP Learn rocks...

tim
GL Blogger
1st Place
5539 Post(s)

Post#5 by tim » 07 Oct 2019, 18:08


The image has to be a cut out of some sort like the text but shaped image...you can't do it on a full image because that's just a rectangle shape.
aka Tin
World Food Program | Good Deeds Forum

         

mackenzieh
Forum Member
42nd Place
38 Post(s)

Post#6 by mackenzieh » 07 Oct 2019, 18:28


tim wrote:
07 Oct 2019, 18:08
The image has to be a cut out of some sort like the text but shaped image...you can't do it on a full image because that's just a rectangle shape.
Oh, okay.
GIMP Learn rocks...

Pat625
Tutorial Creator
2nd Place
4507 Post(s)

Post#7 by Pat625 » 12 Oct 2019, 03:05


I also want to thank you, Tin for all the scripts that you so quickly write for any of us when we request. I am certain that takes some of your time and requires effort. Thank you for sharing your skills with us. Also, a thank you to all the others who write code and make our lives a little happier. You are all appreciated very much!!

Since it is getting close to Halloween. . . .
TT Thank you.Halloween.jpg
TT Thank you.Halloween.jpg # (680.79 KiB) Viewed 4200 times (Thumbnail | Recognize | Sq Tile | LNFI)


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 12 guests