On Saturday 30 August 2003 4:21 pm, Guillermo S. Romero / Familia 
Romero wrote:
> [EMAIL PROTECTED] (2003-08-30 at 1406.58 -0400):
> > I also run auto levels on the images when I'm done, but so far it
> > looks like this is not possible from Script-fu.  Any updates on
> > there?  At least now I just push two buttons instead of
> > decompose, compose, pick images, etc.
>
> Always use the DB browser to search for things while coding, it is
> a great help. You can find other interesting filters there, but I
> think none is exactly what autolevels does. You could even try to
> do something with histogram, but that would mean some kind of long
> loop to analysis all the data.
>
> If unable to find something that solves your problem, you should
> fill a bug, asking for an enhancement ("levels should register a
> PDB call for auto mode" or whichever useful description you can
> give).

I coded it to almost working  and sent to Shawn, said it worked, Bbut 
I do not know if he uploaded it to Bug 199233, Guilhermo.  I 
will`just look for it there, wait a second. Yup...the patch is 
there...untested and untouched by those with the appropriate access 
rights... 
http://bugzilla.gnome.org/show_bug.cgi?id=119233

Could someone please do the honors?  :-)

>
> > (set! new-image-red (car (plug-in-decompose 1 inImage inLayer
> > "Red"))) (set! new-image-green (car (plug-in-decompose 1 inImage
> > inLayer "Green"))) (set! new-image-blue (car (plug-in-decompose 1
> > inImage inLayer "Blue")))
>
> Why not call only one time and work with the list? car gives you
> the first element, but you can use cadr for the second, and caddr
> for the third. Try typing (caddr '(1 2 3 4)) and (cadr '(1 2 3 4))
> in the Script Fu console to experiment (btw, arrow keys let you
> edit old commands).
>
> GSR
>
> _______________________________________________
> Gimp-user mailing list
> [EMAIL PROTECTED]
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user





_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to