On 11/13/2010 11:12 AM, Damien wrote:
Hello the list !
I am totally new to the Gimp and would need to write a script that
does the following:
There are two ways to script Gimp: Scheme (a LISP derivative) that is
built-in, and Python that may be part of your install (and can be
otherwise added later, even if it's not painless). I use Python.
1) generate text strings (with a specified font) using all consonants
(except for "X", "W", "Y" and "Z") that look like this:
- BXXXX
-XBXXX
-XXBXX
-XXXBX
-XXXXB
I was wondering if doing this through the Gimp is really efficient (I
was thinking of using a spreadsheet instead).
This would be done by the script, likely light-years more efficient
than a spreadsheet.
2) Insert the above made lines in one jpeg picture each (800x600),
vertically and horizontally centred.
I suggest using PNG format for this instead. The files won't be bigger
and you won't get any artifacts
3) Make five copies of every jpeg and manipulate contrast in order to
fade from highest to lowest according to a certain step
(luminance/square-root of 2).
For some definition of "contrast" :)
To those wondering, this is for stimuli building in a psychology
experiment.
I would very much appreciate any hints on which tools to use.
Gimp may be usable, but the ImageMagick toolbox with a shell script is
likely to be a much better solution. See here for some examples wit
text, <http://www.imagemagick.org/Usage/text/> while extenive image
manipulation is shown here: <http://www.imagemagick.org/Usage/color/>
(notet that you can even describe mathematically what you want...)
Cheers,
Damien.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user