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/
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
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
The error:
Invalid Parameter - the.gif
Thank you for your help.
You have 2 choices. 1) Use the full path every time you run ImageMagick, i.e. something like "C:\Programs\Image Magick\convert" or 2) Go to Settings -> System -> Advanced -> Environment Variables and click Edit and add the directory in to the start of your PATH.
The current release is ImageMagick 7.1. 0-48. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others. The authoritative ImageMagick web site is https://imagemagick.org.
A number of programs, such as Drupal, MediaWiki, phpBB, and vBulletin, can use ImageMagick to create image thumbnails if installed. ImageMagick is also used by other programs, such as LyX, for converting images.
ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF.
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..
Instead of convert.exe <args>
, use magick.exe convert <args>
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With