So I altered the script to work for perlers. If you find this script useful or like to share photos of your perler finished projects (here in this topic/thread) using this script, I love to hear about it or see them photos of your finished projects.
Here's the script (Turn any image into a perler/beads pattern):
version 6. for GIMP 2.10.X. Added interpolation option for scaling (as sometimes "None" looks better than "Cubic" depending on image/taste).
(27.86 KiB) Downloaded 709 times
Script Menu Location: Python-fu/Beads Pattern..
Beads_Pattern_Script_Options.jpg # (96.33 KiB) Viewed 13893 times Thumbnail
Have you image opened, with active layer.
Run script (Python-fu/Beads Pattern...). Change options as you wish. then click "OK" to run script.
You'll get 2 new images. One is the pattern for beads, you can turn off/on layers to your liking to see whatever you wish. The other one is the perl/beads information like which code goes with what pearl.
(Optional) Share photos of your finished perler projects in this topic/thread.
thread_bead_original.jpg # (94.5 KiB) Viewed 13899 times Thumbnail
thead_bead_pattern.jpg # (410.83 KiB) Viewed 13899 times Thumbnail
thread_bead_pattern_zoomed_in.jpg # (148.26 KiB) Viewed 13899 times Thumbnail
thead_bead_pattern_with_white_overlay_layer_turned_off.jpg # (397.32 KiB) Viewed 13899 times Thumbnail
thread_bead_info.jpg # (20.6 KiB) Viewed 13899 times Thumbnail
Video showing me using the script (a little long but only because my computer is so busy running other programs in the background but i think would be good for beginners who might not know how to use the script)
To get a closer visual of what your finished project looks like you can try the Beads Look Script for GIMP (Visual only, no beads information or coded pattern).
Just updated with version for GIMP 2.10 (to support those who are brave enough to venture in the front line).
What I found out through testing (a lot of testing in 2.10) was that even though i set set sample threshold to zero (0), the code still selects more than the single exact color, from the front end, select color seem to be okay but in code it didn't do what i expected. I selected 2 colors instead of one so I had a bug where for my sample image it would show color 1 and color 6 overlapping (because it didn't select a single color so when it tried to select color 1 it would pick up color 1 and 6 and mark them as 1 then when time came to pick color 6 it would also pick up color 1 and 6 so it would mark them as 6 so i ended up with the pattern showing 1 and 6 overlapping).
For the 2.10 version I had to work around that by instead of selecting color, i filled a layer with the color and use difference mode
then even selecting pure black (meaning no difference) still picked up colors that were close to black, so I had to hack around it by making new from visible (of difference) then threshold between 1/255 and 255/255(or 1) to pick up only black and turn everything else white so it wouldn't be picked up by color select then color selected pure black from the threshold and used that selection. So it's a bit slower but I am happy it works.
I posted in the other thread, and all of my other python scripts show up, and work fine, but this one, no matter what I do, I can't seem to find it. Does it work on Gimp 2.10.8 for Windows? If so, how do I run a script in the console? Am I going about it wrong? It does not show up in the console>browse, nor does it show up in the plug-in browser, but it definitely is there. I'd like to be able to use this plugin, but can't figure out if I am doing something wrong, or if maybe the script needs to be updated?
Pardon my ignorance here, but what exactly do you mean when you say top menu? The only place I see Python-Fu is under filters, so maybe I am looking in the wrong place? Where exactly would I find that? Are you just talking about the regular menu bar? File, Edit, Select, etc.? If so, I do not have a Python-Fu menu, it goes from Filters to Script-Fu.