How to install ImageMagick with Anaconda on windows 64bits?
11,954
As @furas said the best way to save an animation is to save it as an MP4 file with ffmpeg
and then to open cmd.exe
and type: ffmpeg -i C:\my_path\animation.mp4 C:\my_path\animation.gif
.
From Python we can do:
import os
os.system("ffmpeg -i C:\\my_path\\animation.mp4 C:\\my_path\\animation.gif")
# \\ allows to bypass any ascii issue because for example in python "\a" means "\x07" and "\\a" means "\a"
Author by
Loïc Poncin
French engineering student and Physics/Computer science enthusiast
Updated on June 04, 2022Comments
-
Loïc Poncin almost 2 years
I downloaded ImageMagick file for Windows 64bits
ImageMagick-7.0.4-4-Q16-x64-dll.exe
(Link) and I installed it.I am using Anaconda and I get the following error:
C:\Anaconda2\lib\site-packages\matplotlib\animation.py:784: UserWarning: MovieWriter imagemagick unavailable warnings.warn("MovieWriter %s unavailable" % writer)
Does anybody know a channel for Anaconda where there is the ImageMagick package for win64 ?
PS: For example here is a channel called
kalefranz
with the ImageMagick package but for Linux 64bits only (https://anaconda.org/kalefranz/imagemagick)