简体   繁体   English

如何从命令行 cmd windows gimp 运行 gmic

[英]How to run gmic from command line cmd windows gimp

I am looking up on the Internet for hours and can't get to how to execute a command on the command prompt that does something out of gimp files and furthermore get to apply filters to images with gmic, I managed to do it all well with Image Magick, using the convert command, it just works, but for gmic I try on cmd我在互联网上查找了几个小时,但无法了解如何在命令提示符下执行命令,该命令从 gimp 文件中执行某些操作,此外还可以使用 gmic 将过滤器应用于图像,我设法用Image Magick,使用转换命令,它只是有效,但对于gmic,我尝试使用cmd

  gimp -b -

as stated on their website's documentation: http://www.gimp.org/tutorials/Basic_Batch/如其网站文档所述: http : //www.gimp.org/tutorials/Basic_Batch/

But no, it pops:但不,它弹出:

'gimp is not recognized as an internal or external command, operable program or batch file. 'gimp 不是内部或外部命令,也不是可运行的程序或批处理文件。

Am I asking something very dumb, I really don't know what I am doing wrong, maybe I am missing some steps, the error gives me a clue as if I had to create a file for the gimp command to work other than have succesfully installed it in Windows.我是不是在问一些非常愚蠢的问题,我真的不知道我做错了什么,也许我错过了一些步骤,错误给了我一个线索,好像我必须为 gimp 命令创建一个文件才能工作而不是成功在 Windows 中安装它。

I'm on Windows 8 64 bit by the way.顺便说一下,我使用的是 Windows 8 64 位。 Enterprise edition.企业版。

Thanks very much for any help.非常感谢您的帮助。

Gimp installed 2.8.2 gmic installed 1.5.3 gimp 安装 2.8.2 gmic 安装 1.5.3

If your goal is only to apply a G'MIC effect on an image, why not using the command-line interface 'gmic' of the G'MIC project, instead of trying doing that through the plug-in for GIMP ?如果您的目标只是在图像上应用 G'MIC 效果,为什么不使用 G'MIC 项目的命令行界面“gmic”,而不是尝试通过 GIMP 插件来实现呢? The G'MIC project provides a command-line interface 'gmic' for his tool, so it should be less difficult to use I guess + you won't have the limitations due to GIMP (8bits processing eg, as 'gmic' is able to process 16bits images). G'MIC 项目为他的工具提供了一个命令行界面“gmic”,所以我猜它应该不那么难使用 + 由于 GIMP(8 位处理,例如,因为 'gmic' 能够处理 16 位图像)。

The command line interface does not know where gimp is all by itself.命令行界面本身并不知道gimp在哪里。 Either call it with the full path, something like C:\\Program Files\\Gimp\\gimp.exe -b - , or add the directory that contains gimp to your %PATH% system variable.要么使用完整路径调用它,例如C:\\Program Files\\Gimp\\gimp.exe -b - ,要么将包含 gimp 的目录添加到您的%PATH%系统变量中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM