It is currently 05 Aug 2021, 02:42

• 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

Simplify Plug-in

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

Simplify Plug-in

Post#1 by tim » 05 May 2019, 01:18


I thought it would be fun to create a simplified vectorized version of any image. So here it is:
simplify.py #
(3.8 KiB) Downloaded 113 times
simplify.py #
version 2. more interesting by selecting additional lighter colors working from dark to light.
(3.86 KiB) Downloaded 105 times
simplify.py #
version 3. Create path/vectors of color fills as well.
(4.44 KiB) Downloaded 210 times
Plug-in Menu Location: Python-fu/Simplify...

Instructions:
  1. Have your image opened (rgb mode).
  2. Run plug-in (Python-fu/Simplify...), Choose number of colors (to reduce to using indexed mode). Choose simply size width (pixels) (It'll use this width to scale image down, turn to paths and resize to normal size, this is what simplifies the image, the smaller the width the more detail you'll lose, so far I have only tested 100 to 200 sizes).
    Then click OK to run plug-in.
  3. That's it, when it's done you can change the bottom-most layer to a solid color, or blur it with a large radius (this layer contains your indexed colored of original image).
Sample results:
simplified-mona-lisa-light-background-150width.jpg
simplified-mona-lisa-light-background-150width.jpg # (216.13 KiB) Viewed 2613 times (Thumbnail | Recognize | Sq Tile | LNFI)
monalisa-simplified-with-blurred-background.jpg
monalisa-simplified-with-blurred-background.jpg # (211.08 KiB) Viewed 2613 times (Thumbnail | Recognize | Sq Tile | LNFI)
simplified-picasso-guitarist-width100.jpg
simplified-picasso-guitarist-width100.jpg # (122.63 KiB) Viewed 2613 times (Thumbnail | Recognize | Sq Tile | LNFI)
simplified-version-2-picasso-guitarist-width150.jpg
version 2. You do not have to play with bottom-most layer as it does additional selections reducing as colors get lighter so whole image is filled.
simplified-version-2-picasso-guitarist-width150.jpg # (219.75 KiB) Viewed 2609 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5499 Post(s)

Post#2 by tim » 05 May 2019, 02:02


building-original-and-simplified.jpg
building-original-and-simplified.jpg # (53.7 KiB) Viewed 2607 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5499 Post(s)

Post#3 by tim » 05 May 2019, 16:18


John-Lennon-Obama-Hope-Poster-2.jpg
John-Lennon-Obama-Hope-Poster-2.jpg # (118.21 KiB) Viewed 2557 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

neurolurker
Forum Member
31st Place
68 Post(s)

Post#4 by neurolurker » 06 May 2019, 03:55


Black Cat for GC.jpg
Black Cat for GC.jpg # (34.37 KiB) Viewed 2535 times (Thumbnail | Recognize | Sq Tile | LNFI)
Thanks for the plugin. Using version 2. Copied the eyes to paste back in after simplifying 8 colors by 100. Cat's left eye worked, right eye not so well, and Edgar A. Poe suddenly sprang to mind.
GIMP Learn rocks...

nidhogg
Forum Member
27th Place
76 Post(s)

Post#5 by nidhogg » 08 May 2019, 06:12


Great plugin for vectorish art. I haven't yet tried, but will export some results to inkscape.
Simplify.jpg
Simplify.jpg # (56.31 KiB) Viewed 2483 times (Thumbnail | Recognize | Sq Tile | LNFI)
GIMP Learn rocks...


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 48 guests