saving animation problem
sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in srange(0,1,.1)]
a = animate(sines)
a.save('animations/sines')
When running this code I get the following error:
Error: Cannot generate GIF animation. The convert command (ImageMagick) is present but does not seem to be functional. Verify that the objects passed to the animate command can be saved in PNG image format. See www.imagemagick.org more information.
I can find the .gif in .sage/tmp/mymachine/44754 and move it, but using the save command would be much easier. I am on Sagemath 9.5 and Ubuntu 22.04
What is the result of the following (does it return True as well) ?:
What is the result of
convert -list Format | grep PNG
? Note that feature checks for imagemagick were added in #33092@Sébastien : the return code is not handled correclty (you can reproduce the error with imagemagick properly installed), i am not sure the return codes of imagemagick are documented somewhere.
Right, I see. I created #34204. I will work on this after vacation in August/September. Feel free to propose a branch meanwhile.
Great .
#34204 now needs review