Re: 'gimp-levels-stretch' in batch mode

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



Thanks for the quick reply,

> If you look more closely at the Procedure Browser, you will notice
> that gimp-levels-stretch only takes a single parameter, not three.

However, I realized that 'gimp-levels-stretch' only takes a filename
as a parameter, so I removed the additional ones:

'radius, amount, threshold'

from the example script (definition & function call) and from the
bash command.


So something else must be wrong.

Wolfgang



On Sunday 22 March 2009 22:02:55 you wrote:
> Hi,
>
> On Sun, 2009-03-22 at 20:57 +0100, wwaser@xxxxxx wrote:
> > I also found the function 'gimp-levels-stretch' in the Script-Fu
> > Procedure Browser and tried to adapt the example script:
> >
> > -----
> > (define (stretch-levels pattern)
> >   (let* ((filelist (cadr (file-glob pattern 1))))
> >     (while (not (null? filelist))
> >            (let* ((filename (car filelist))
> >                   (image (car (gimp-file-load RUN-NONINTERACTIVE
> >                                               filename filename)))
> >                   (drawable (car (gimp-image-get-active-layer image))))
> >              (gimp-levels-stretch RUN-NONINTERACTIVE
> > 				  image drawable)
>
> If you look more closely at the Procedure Browser, you will notice that
> gimp-levels-stretch only takes a single parameter, not three.
>
>
> Sven
_______________________________________________________________________
Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt?
Jetzt absichern: https://homebanking.web.de/?mc=mail@xxxxxxxxx

_______________________________________________

Gimp-user@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp Announce]     [Gimp Images]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Photo Site]     [Script Fu]     [GIMP Software]     [GIMP Books]

Barnes&Noble.com

Add to Google Follow Gimp on Twitter