如何在Windows上使用ImageMagick命令行?

如何在Windows上使用ImageMagick命令行?

问题描述:

我的目标是确定我拥有的jpeg图像的压缩参数.据我从了解到,可以使用ImageMagick函数 identity .我从官方网站下载并安装了 ImageMagick-7.0.2-7-Q16-x64-dll.exe .现在,我有一个名为ImageMagick Display的GUI应用程序,似乎没有用.在哪里可以找到IM命令行来键入以下内容:

My goal is to determine the compression parameters of the jpeg image that I have. As I understood from this answer, it's possible using the ImageMagick function identity. I downloaded from the official site and installed ImageMagick-7.0.2-7-Q16-x64-dll.exe. Now, I have an application with GUI called ImageMagick Display that seems useless. Where can I find an IM command line to type this:

identify -format '%Q' yourimage.jpg

由于版本为7.x,因此在安装时会出现一个复选框,内容为安装旧版(或更旧的)实用程序".我不确定确切的文字是什么,但是您需要在安装过程中选中该复选框.

Since it is version 7.x, there is a checkbox at the time of installation that says something like 'install legacy (or older) utilities'. I am not sure what the exact text is, but you need to select that checkbox during installation.

完成后,您将可以在命令行中使用命令.

Once done, you will be able to use the commands from command line.

另一种选择是使用命令magick identify --version

Another option is to use the command magick identify --version

对于6.x版,则没有必要.

For version 6.x, it is not necessary.