Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gimp script that does not work within shell script
#2
I attach again forum.txt, because the first version is incomplete...
.txt   forum.txt (Size: 1.65 KB / Downloads: 93)

Bug fixed!
Using de shell invocation into a makefile, I realized that I had a lot of quotes...
In short:
* from the command line:
$    gimp --as-new -dfs -i -b '(img2img "ATSP-A0min.png" "prueba.eps")' -b '(gimp-quit 1)'
* from a Makefile:
%.eps: %.png
    gimp --as-new -dfs -i -b '(img2img "$<" "$@")' -b '(gimp-quit 0)'

* from a shell script:
    gimp --as-new -dfs -i -b '(img2img "'$1'" "'$2'")' -b '(gimp-quit 0)'

So this issue has to do with bash, not with gimp...

That's all, folks!
Reply


Messages In This Thread
RE: gimp script that does not work within shell script - by MVE - 10-08-2022, 11:11 PM

Forum Jump: