Error saving gif video with R animation library and Imagemagick

后端 未结 2 656
温柔的废话
温柔的废话 2021-01-18 20:23

I am trying to create a simple .gif video using Windows 7. I installed ImageMagick and it seems to be working by itself. Here is the following code I tried to run and the

相关标签:
2条回答
  • 2021-01-18 21:02

    I had the same problem. The short path trick does it! But With Image Magick Version 7.x there no longer is a "convert.exe". The following works:

    ani.options(convert=shortPathName("C:\\Program Files\\ImageMagick\\magick.exe"))
    
    0 讨论(0)
  • 2021-01-18 21:09

    I encountered the same problem. Imposing a short file path solved the error for me.

     path.to.convert <- paste0(shortPathName(
                        "C:\\Program Files\\ImageMagick-6.9.0-Q16\\"), "convert.exe")
     ani.options(convert=path.to.convert)
    
    0 讨论(0)
提交回复
热议问题