Google
  Web www.spinics.net

Re: Re: Randomized gradient

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


  "Ken" <kenba_nistu@xxxxxxxxx> said on May 22, 2008 0:54 -0400 (in part):
>> Alec: Can any one point to documentation somewhere?
>> > Later ... Goggle is my friend <GRIN> searching for: gimp+ggr+format 
>> > turns up (as #1 hit of 21,300) this blog entry: 
>> > http://raikardesigns.blogspot.com/ which has a link to this
>> explanation: http://rockraikar.googlepages.com/gimpGGRformat.txt
> Ken: This looks promising, but I will need to look it over some more.
> I don't know what "Blending function constant" means, and alpha has to
> be in there somewhere too.

Just curious: what are you trying to accomplish with Randomized gradients?

If not interested, just ignore the rest of this ...

In the first reference above: http://raikardesigns.blogspot.com/ their 
is a further reference to:
> If you have appetite for more of gradients, you should try SpectraG, 
> an opensource gradient editing software written by Rosros in Python. 
> It represents gradients with formulas, so you need a understanding of 
> little math but it appears to be a very interesting and immersing 
> gradient editor. It allows importing and saving to .ggr format among 
> various others.
at: http://sourceforge.net/projects/spectrag - from the downloads 
section get:

    * SpectraG-1_11e - the python program and some bits and pieces and
    * formulae - unzip in a folder below folder where you put
      SpectraG-1_11e
    * gradients - ditto


To use it was (for me), a bit of an exercise. I already had python 2.5 
installed - you just need it installed, you don't actually have to know 
anything about python or work with it (much). What it did require that I 
didn't already have was:

    * GPL Ghostscript  http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl860.htm
    * GSview  http://pages.cs.wisc.edu/~ghost/gsview/get49.htm
    * pstoedit  http://www.pstoedit.net/pstoedit/

first one is needed, second two are "nice" to have if you want to use 
Ghostscript as more than an underpinning for Spectra-G.
Once you install Spectra-G and attempt to run it, you get a CMD window 
"flash" and silent termination.
If you make a copy of "Spectra-0_1.pyw" as "Spectra-0_1.py" and run it 
in a cmd (DOS) window instead of just a flash you'll see some error 
messages complaining about missing modules: PIL, numpy and scipy.

Windows installers for these can be found at:

    * PIL - http://www.pythonware.com/products/pil/index.htm -
      PIL-1.1.6.win32-py2.5.exe
    * Numerical Python -
      http://sourceforge.net/project/showfiles.php?group_id=1369 -
      numpy-1.0.4.win32-py2.5.msi
    * SciPy: Scientific Library for Python -
      http://sourceforge.net/project/showfiles.php?group_id=27747
      -scipy-0.6.0.win32-py2.5.exe 

Once installed, double clicking Spectra-0_1.pyw will bring up the 
program - yippee.
Here's the second one I created, selecting a formula at random and 
tweaking the sliders, again randomly:
http://buralex.googlepages.com/amb002-ripple001.ggr (its got 61 segments 
so I haven't posted the text here). Just put it in (for me on WinXP2) 
C:\Documents and Settings\<username>\.gimp-2.4\gradients before starting 
GIMP.

Above looks complicated, but only took an hour or so from start to 
finish - YMMV - or you may just say the heck with it. I certainly know a 
lot more about GIMP gradients than I did a two days ago!

Regards ... Alec -- buralex-gmail
-- 



[Non-text portions of this message have been removed]


------------------------------------

List archives: <http://groups.yahoo.com/group/gimpwin-users/>
To unsubscribe send a blank message from the address you're subscribed
to <mailto:gimpwin-users-unsubscribe@xxxxxxxxxxxxxxx>Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gimpwin-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gimpwin-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:gimpwin-users-digest@xxxxxxxxxxxxxxx 
    mailto:gimpwin-users-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    gimpwin-users-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Add to Google

[Gimp Developers]     [Gimp Users]     [Photos]     [Yosemite News]     [Yosemite Photos]    [Epson Inkjet]     [Scanner]     [Gimp's Home]     [GIMP Books]     [Steve's Art]     [Script Fu]     [Free Online Dating]

  Powered by Linux