本文介绍了ImageMagick - Windows问题和转换功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用imagemagick从几个png文件创建一个简单的.gif文件,使用此处概述的一般方法:

I'm trying to use imagemagick to create a simple .gif file from a few png files, using the general approach outlined here: http://www.r-bloggers.com/animated-plots-with-r/

但是,我在Windows 10机器上,我认为这会导致转换功能出现问题,如下所述:

However, I'm on a Windows 10 machine, and I think that's causing problems with the convert function as generally described here: http://www.imagemagick.org/discourse-server/viewtopic.php?t=19679

有人可以解释我如何更改imagemagick或Windows以便它可以工作?

Can someone please explain how I can either change imagemagick or Windows so that it works?

特别是我给出的命令和发生的错误如下所示:

Specifically the command I'm giving and the error that occurs is shown below:

convert *.png new.gif

错误:

Invalid Parameter - the.gif

感谢您的帮助。

推荐答案

您可能已在计算机上安装了ImageMagick 7.X.此版本不再包含 convert.exe ,您收到的错误来自Windows的convert命令。您可以使用 magick.exe 代替或者在安装过程中选择安装旧版实用程序(例如转换)以安装<$ c您计算机上的$ c> convert.exe ..

You probably installed ImageMagick 7.X on your machine. This version no longer includes convert.exe and the error that you are receiving is from the convert command of Windows. You can use magick.exe instead or select Install legacy utilities (e.g. convert) during the installation to install convert.exe on your machine..

这篇关于ImageMagick - Windows问题和转换功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 17:14