单独选择时,R中的Magick正在从帧中删除数据

时间:2019-05-30 18:25:14

标签: r imagemagick

使用此gif:

enter image description here

如何使用Magick获得无损帧?

library(magick)
a_mgif <- image_read("https://i.stack.imgur.com/kucQM.gif")

a_mgif[2]

我正在尝试逐帧组合单独的gif,如此处所示:https://github.com/thomasp85/gganimate/wiki/Animation-Composition,但我不知道如何克服压缩。

enter image description here

1 个答案:

答案 0 :(得分:0)

image_write()产生不压缩的完整帧。