UPDATE: Now available on
gimpscripts.comI thought this would be good to have sometime i want many random colors before i call the
Auto Hatch Layers script
this is version 1(simple colorize)
Attachment:
AutoColorize.scm [2.61 KiB]
Downloaded 375 times
version 2 is below, scroll down.
It'll be available under Script-Fu-> Auto Colorize
a test
then called the hatch script
The script above just does colorization it doesn't consider perceived lightness.
This version calculates perceived lightness and picks a random color with the same perceived lightness.
So if you were to gray scale mode it it looks like gray scale mode of the original image.
I am still experimenting around but this one looks much i better i think than the version above.
this is version 2(colorized based on perceived brightness)
Attachment:
AutoColorize.scm [4.25 KiB]
Downloaded 254 times
It'll be available under Script-Fu -> Auto colorize
here's a sample of 15 colors, then hatched.
here's another sample...
source image:
after auto-colorize of 12 colors
Because it is random, each time you run this script, you'll get a different result.
this is version 3 of the script(primary color variations)
Attachment:
AutoColorize.scm [5.02 KiB]
Downloaded 220 times
available under Script-Fu -> Auto colorize
It was aimed toward producing a generally variations of primary colors (aimed toward the RAP[random art prompt of Primary colors])
What the script does is it tries from highest value of when luminance is less than 1/3 of the maximum it tries to use maximum blue values and then random values of red and green until it finds variation of blue that has the same luminance as original.
When luminance is the middle 3rd chunk it tries maximum red values and other random values of blue and green.
When luminance is the top 3rd chunk it tries maximum green values and other random values of red and green.
Because it has to seek for colors of same luminance based on random values, this script might take a while on darker colors, at times it seems like it's stalling, it's not let it do its work.
Here's an example, it's generally blue red and green but there are slight variations of each of these colors.