fogleman/primitive

output to .gif file format fails under windows

mapl opened this issue · 3 comments

mapl commented

In Windows the "convert" command is already being used by "convert.exe" command to convert file systems. Trying to output to gif fails with "exit status 4".

Reason:

"convert -loop 0 -delay 50 C:\Users\xxxxx\AppData\Local\Temp\239865135*.png -delay 200 C:\Users\xxxxx\AppData\Local\Temp\239865135\000038.png test.gif"

According to the docs, the complete command should be:

"magick convert" rose.jpg rose.png

http://www.imagemagick.org/script/convert.php

Similar issue with macOS, the error message is exec: "convert": executable file not found in $PATH.

@bradydowling You need to install ImageMagick (you can brew install imagemagick) before you can run the convert command.

On Windows systems, you should add ”magick“, like this : magick convert -loop 0 -delay 50.......