rmagick

Magick in R is dropping data from frames when selected individually


Using this gif:

enter image description here

How can I get lossless frames using Magick?

library(magick)
a_mgif <- image_read("https://i.sstatic.net/kucQM.gif")

a_mgif[2]

I'm attempting to combine separate gifs frame-by-frame as seen here: https://github.com/thomasp85/gganimate/wiki/Animation-Composition but I don't know how to get past the compression.

enter image description here


Solution

  • image_write_gif() had loss whereas image_write() produces a full frame without compression.