Re: [Gimp-user] Question about scripting
- From: Jean-Pierre HOARAU <jean-pierre hoarau info>
- To: Shlomi Fish <shlomif shlomifish org>, gimp-user-list gnome org
- Subject: Re: [Gimp-user] Question about scripting
- Date: Sat, 30 Jul 2022 06:21:30 +0200
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 <shlomif shlomifish org> a
écrit :
hi ,
On Fri, 29 Jul 2022 05:00:39 +0200
Jean-Pierre HOARAU <jean-pierre hoarau info> 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
.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]