It is currently 05 Dec 2020, 04:59

• 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

Generate Cross Stitch pattern and DMC thread information Script for GIMP

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger

Re: Generate Cross Stitch pattern and DMC thread information Script for GIMP

Post#81 by tim » 20 Jul 2020, 03:08


Updated with latest version for 2.10.X to have option to say YES/NO to blending.
Blending will try to match colors using average color of 2 colors of DMC thread.
Slower, but in theory (based on law of average 50% of one thread color and 50% of another thread color) should produce a better matching color.
Experimental.
aka Tin

         

tim
GL Blogger

Post#82 by tim » 20 Jul 2020, 15:36


Updated with lastest version 17. Limit blending to close colors to produce superior/convincing blended colors.
Also for Thead Ino image, show DMC sample as 2 actual DMC colors for blended colors instead of the fictional average color so it's easier to identify which DMC color we're using for that pattern symbol.
aka Tin

         

tim
GL Blogger

Post#83 by tim » 20 Jul 2020, 21:30


Updated with version 18. Option to choose "Third-Blend" which uses 3 strands (1 strand of 1 color and 2 strands of another color).
This allows for 21,232 total blended colors including orginal 472 DMC colors.
aka Tin

         

tim
GL Blogger

Post#84 by tim » 21 Jul 2020, 16:14


Updated with version 19. Added 35 new DMC colors (DMC 1-35).
aka Tin

         

tim
GL Blogger

Post#85 by tim » 22 Jul 2020, 13:38


Version 20 added. Allow 4th blend (4 strands of 2-color combinations).
aka Tin

         

tim
GL Blogger

Post#86 by tim » 23 Jul 2020, 18:48


Version 21 added. Allow 5th blend (5-strand) and 6th blend (6-strand)
aka Tin

         

Cross_Stitcher
Forum Member

Post#87 by Cross_Stitcher » 21 Nov 2020, 17:18


I can only say... thaaaaaanks Tim!!!!
Many years doing cross stitch (I am 66) and at last I have found an useful tool for make my own grids.
The results look like professional and really beautiful, in fact I can read better small grids in Gimp than in papers printed in books or mags about cross stitch. I have some doubts but nothing important, I love this tool!! I am using Debian Stretch and Gimp 2.10 and works fine.
GIMP Learn rocks...

Cross_Stitcher
Forum Member

Post#88 by Cross_Stitcher » 28 Nov 2020, 21:14


Hi Tim!

I have been using during these days your amazing script and I have some questions about it... too many! :)
I am not good at programming so I am sure that I am saying stupid things, be patience, please!

- Why I can't use "indexed images"? The script only admits rgb-mode pics.
- Why do you use that symbols so strange? From Unicode? Could I choose my own symbols or numbers for my pattern???

I read the script in Python but it looks like chinese for me! At least I have your comments inside.
Thanks a lot.
GIMP Learn rocks...

tim
GL Blogger

Post#89 by tim » 29 Nov 2020, 04:16


1. Because the script turns it to indexed from RGB so it expects RGB mode to start. You just have to to turn it to RGB mode to run it on indexed.
2. The symbols were 1 2 3 and up to Hex FF before but at some point I wanted them to start with different looking shapes.
if you want to change the symbols yourself.
Go edit the plug-in file.
Look for

Code: Select all

SYM = 
It's where the Symbols are defined.
There'll be a line defining SYM2 and SYM then SYM is then set to equal SYM + SYM2 to make it long so that it doesn't run out of symbols.
You can turn each symbol into any character or letter you'd like I think i made it so 2 characters can be used as symbols...
any longer than that and it wouldn't fit on the pattern grid.
aka Tin

         

Cross_Stitcher
Forum Member

Post#90 by Cross_Stitcher » 01 Dec 2020, 12:36


tim wrote:
29 Nov 2020, 04:16
1. Because the script turns it to indexed from RGB so it expects RGB mode to start. You just have to to turn it to RGB mode to run it on indexed.
Thanks, Tim! Now I understand that issuu.
tim wrote:
29 Nov 2020, 04:16
2. The symbols were 1 2 3 and up to Hex FF before but at some point I wanted them to start with different looking shapes.
if you want to change the symbols yourself.
Go edit the plug-in file.
Look for

Code: Select all

SYM = 
It's where the Symbols are defined.
There'll be a line defining SYM2 and SYM then SYM is then set to equal SYM + SYM2 to make it long so that it doesn't run out of symbols.
You can turn each symbol into any character or letter you'd like I think i made it so 2 characters can be used as symbols...
any longer than that and it wouldn't fit on the pattern grid.
Ok, I understand... I will rewrite those lines in the plugin.
You are right, numbers are not suitable and some symbols are confusing... I will test!
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 35 guests