Download Latest Version scrimage-0.6_python2.zip (4.7 kB)
Email in envelope

Get an email when there's a new version of scrimage

Home / source
Name Modified Size InfoDownloads / Week
Parent folder
general_utils.py 2013-01-12 1.4 kB
bmp_utils.py 2013-01-11 9.1 kB
scrimage.py 2013-01-11 7.9 kB
png_utils.py 2013-01-09 64 Bytes
Totals: 4 Items   18.5 kB 0
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/
Source: README.txt, updated 2013-08-28