I have a gif
Example.gif, and would like to play it in a presentation. I used the following code:-
a = Import[StringJoin[NotebookDirectory, "Example.gif"]] ListAnimate[a]
But it is very slow (waiting time more than 30 seconds up to 1 minute). As I have several gif, the total waiting time is significant. How can I make it faster and smoother to play, just like normal built-in image explorer of the OS? I tried to change the first line from
Import to the list of images of the gif (that means I have already stored the gif inside the notebook, instead of importing it), but it doesn't help. When I run
ListAnimate[a], I still need to wait for the "Formatting Notebook Contents" for a significant duration before the gif is played.
How can I get it done? Many thanks!