在Windows命令行中使用Gimp脚本错误

问题描述 投票:1回答:2

我尝试使用此脚本通过特定脚本来转换.PSD。

这是我的代码:

@echo off

set gimp="c:\Program Files\GIMP 2\bin\gimp-console-2.8.exe"

%gimp% -i -b '(flatten-layer-groups 1 test.psd)' -b '(gimp-quit 0)'

但他不工作,出现此错误:

(gimp-console-2.8.exe:1336): LibGimpBase-WARNING **: gimp-console-2.8.exe: gimp_
wire_read(): error
GIMP-╬°шсър: ═хтючьюцэю юЄъЁ√Є№ 'c:\Work\Test\1': No such file or directory

GIMP-╬°шсър: ═хтючьюцэю юЄъЁ√Є№ 'c:\Work\Test\test.psd)'': No such file or direc
tory

GIMP-╬°шсър: ═хтючьюцэю юЄъЁ√Є№ 'c:\Work\Test\0)'': No such file or directory

请帮助我!谢谢!

windows cmd gimp script-fu
2个回答
1
投票

我认为您需要使用双qoutes,例如


0
投票

例如,xd函数在Windows 10的Gimp版本2.10上打开c.jpeg,这在桌面上

© www.soinside.com 2019 - 2024. All rights reserved.