Re: [Gimp-developer] Script-Fu

2004-07-02 Thread Jonathan Bartlett
> (define blur-file "blur.png") > (define blur-file "otherblur.png") > > Different versions of Scheme handle this differently. I do not know if this is > proper Gimp-scheme (re-defining a defined variable), or if one would have to > use set! for the second definition/assignment. Incidently, no scri

Re: [Gimp-developer] Script-Fu

2004-07-02 Thread Jonathan Bartlett
> (define (blur-file) (set! return "blur.png")) > > but that would not (really?) allow constructs like: > > file_for_blur: blur.png > file_for_blur: blur_changed_my_mind_use_this_instead_but_keep_other_too.png > file_for_blur: use_yet_another.png You mean like (define blur-file "blur.png")? > Mor

[Gimp-developer] Scale Constrained

2003-09-06 Thread Jonathan Bartlett
I wrote a small but useful script that will scale an image to best fit within a constrained size without affecting aspect ratio. It's a simple script, but I've found it quite useful as a component for other scripts, and thought it might be useful in GIMP at large. It's scheme right now, but I cou

Re: [Gimp-developer] Gimp interface streamlining

2003-09-06 Thread Jonathan Bartlett
> I already explained most of my suggestions to Joao. > I did another design, available at > http://www.zeitgeistmedia.net/gimp/gimpstreamline2.png that's REALLY nice looking, and I like it, not that my opinion counts for much :) Jon ___ Gimp-developer