[Gimp-user] text processing script

2010-11-13 Thread Damien
Hello the list !

I am totally new to the Gimp and would need to write a script that does
the following:

1) generate text strings (with a specified font) using all consonants
(except for X, W, Y and Z) that look like this:
- B
-XBXXX
-XXBXX
-XXXBX
-B
I was wondering if doing this through the Gimp is really efficient (I
was thinking of using a spreadsheet instead).

2) Insert the above made lines in one jpeg picture each (800x600),
vertically and horizontally centred.

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).


To those wondering, this is for stimuli building in a psychology
experiment.

I would very much appreciate any hints on which tools to use.

Cheers,
Damien.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] text processing script

2010-11-13 Thread Ofnuts

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:

- B
-XBXXX
-XXBXX
-XXXBX
-B
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


[Gimp-user] Beginner's ? re selection/move

2010-11-13 Thread hermitsoul
I've been using Gimp for over a year for simple projects.  I've always been 
able to use the rectangle select tool and then crop an image.  For some reason, 
now whenever I try to use the rectangle select tool, it includes the move 
function and just moves the image--won't let me select a rectangle to crop, 
copy, etc . . . What can I do to get the simple select rectangle function back?

Thanks in advance,
hermitsoul

-- 
hermitsoul (via gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Beginner's ? re selection/move

2010-11-13 Thread Ofnuts

On 11/13/2010 06:18 PM, hermitsoul wrote:
 I've been using Gimp for over a year for simple projects.  I've always been 
 able to use the rectangle select tool and then crop an image.  For some 
 reason, now whenever I try to use the rectangle select tool, it includes the 
 move function and just moves the image--won't let me select a rectangle to 
 crop, copy, etc . . . What can I do to get the simple select rectangle 
 function back?


The behavior your describe is the behavior of most tools when the Alt 
key is depressed before the mouse click. See if you have the same 
behavior in other tools. If so, find out why your Alt key is depressed. 
Wrist? Cat? Hardware malfunction? You can also reset your keybprd 
shortcuts to defaults (Preferences/Interface) but I don't see where this 
particular one is defined.



___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Beginner's ? re selection/move

2010-11-13 Thread Greg Chapman
Hi,

On 13 Nov 10 17:18 hermitsoul for...@gimpusers.com said:
 I've been using Gimp for over a year for simple projects.  I've 
 always been able to use the rectangle select tool and then crop an 
 image.  For some reason, now whenever I try to use the rectangle 
 select tool, it includes the move function and just moves the 
 image--won't let me select a rectangle to crop, copy, etc . . . What
 can I do to get the simple select rectangle function back?

Are you sure you're not just confusing the RECTANGLE SELECT and CROP 
tools.

Drag on the selected area with RECTANGLE SELECT or CROP and you move 
the selection.

Click on the selection with RECTANGLE SELECT and you confirm the 
selection

Click on the selection with CROP and you crop the selection.

Greg Chapman
http://www.gregtutor.plus.com
Helping new users of KompoZer and The GIMP
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user