Re: [Gimp-user] Question about scripting
Thank you very much for the link. It is very useful. But my problem is not bash but the parameters to give in command line to run gimp procedures. I don't understand very well what I must give for args in a gimp procedure. This is why I asked for an example with a file-jpeg-load or file-jpeg-save procedure. I get some error messages that I don't understand. So my question remains, what are parameters to give to these procedures? Could someone write me this command line? So I will have an example that I can't find on the net. Thank you. Le sam. 30 juil. 2022 à 02:25, Shlomi Fish a écrit : > hi , > > On Fri, 29 Jul 2022 05:00:39 +0200 > Jean-Pierre HOARAU wrote: > > > I'm trying to write a script shell and use a procedure. I don't > understand > > how to give the parameters to the script. I do not have the good number > or > > parameters. Can someone write to me the command line that I have to enter > > to use the procedures, for example, file-jpeg-load and file-jpeg-save? I > > tried this and it doesn't work: > > > > gimp -i -b "(file-jpeg-load RUN-NONINTERACTIVE "/home/user/ev.jpg" > > "/home/user/ev.jpg")" -b "(gimp-quit 0)" > > > > Please read about bash/zsh/ksh/etc. quoting/escaping: > > https://mywiki.wooledge.org/BashFAQ > > [also note https://www.shlomifish.org/open-source/anti/csh/ ] > > > Thank you in advance. > > ___ > > gimp-user-list mailing list > > List address:gimp-user-list@gnome.org > > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > > List archives: https://mail.gnome.org/archives/gimp-user-list > > > > -- > > Shlomi Fish https://www.shlomifish.org/ > https://www.shlomifish.org/open-source/resources/tech-tips/ > > If a million Shakespeares had to write together, they would write like a > monkey. > — based on Stephen Wright, via Nadav Har’El. > > Please reply to list if it's a mailing list post - https://shlom.in/reply > . > ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] Question about scripting
I'm trying to write a script shell and use a procedure. I don't understand how to give the parameters to the script. I do not have the good number or parameters. Can someone write to me the command line that I have to enter to use the procedures, for example, file-jpeg-load and file-jpeg-save? I tried this and it doesn't work: gimp -i -b "(file-jpeg-load RUN-NONINTERACTIVE "/home/user/ev.jpg" "/home/user/ev.jpg")" -b "(gimp-quit 0)" Thank you in advance. ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Re: [Gimp-user] Keywords of script-fu language.
Thank you. I have found what I searched for. Le mar. 26 oct. 2021 à 09:16, Shlomi Fish a écrit : > On Tue, 26 Oct 2021 07:24:06 +0200 > Jean-Pierre HOARAU wrote: > > > Hello, I would like to know, if it is possible, where I could find the > list > > of keywords used in the Gimp script-fu language with the explanations of > > them? > > > > Thanks in advance. > > Hi there! > > See: > > * http://tinyscheme.sourceforge.net/home.html > > * https://www.gimp.org/docs/python/procedural-database.html > > > ___ > > gimp-user-list mailing list > > List address:gimp-user-list@gnome.org > > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > > List archives: https://mail.gnome.org/archives/gimp-user-list > > > > -- > > Shlomi Fish https://www.shlomifish.org/ > https://www.shlomifish.org/open-source/projects/fortune-mod/ > > If Chuck Norris travelled to the market with his son and his donkey, he > would > have clubbed the critics to death. With the donkey. > — https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ > > Please reply to list if it's a mailing list post - https://shlom.in/reply > . > ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] Keywords of script-fu language.
Hello, I would like to know, if it is possible, where I could find the list of keywords used in the Gimp script-fu language with the explanations of them? Thanks in advance. ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list