Scrimage Image editor 0.6
created by Gabriel Boorse, 2013
Just a fun image editor that does colorization based on math you input.
USAGE:
-h, --help = help stuff, etc
-i, --image = image to edit
-s, --script = script to apply
SCRIPT FORMAT:
script should have three lines: one starting with "Red: ", one starting with "Green: ", and one starting with "Blue: "
After each line beginning/header, put a mathematical expression that, for each pixel in the image, will be assigned to that channel
For instance. "Red: 5 + 5" would assign 10 to the red value of each pixel
Several variables are available: r, g, b, and v
r = the current red value of the pixel
g = the current green value of the pixel
b = the current blue value of the pixel
v = the average of the thre pixel channel values = (r + b + g) / 3
w = width of the image
h = height of the image
x = current x position
y = current y position
p = overall current pixel number
Note that when you are inputting the changes manually in the command line, you do NOT have to include the header ("Red: ", "Blue: ", or "Green: ")
The header still must be included in the script file.
EXAMPLE SCRIPT FILE:
Red: r + 15
Green: g / 2
Blue: v
RECENT AND PLANNED CHANGES:
Don't be lazy. Look in the tickets section: https://sourceforge.net/p/scrimage/tickets/?source=navbar
More info is available on the project wiki: https://sourceforge.net/p/scrimage/wiki/Home/