convert -delay 10 -loop 0 DSC003* animation.gif
Where DSC003* are the files that are going to be used for the animations. They can be in about any format.
As a (rather stupid) example, I created 16 barplots in R with different colors and animated this:
in R:
$ pdf('example.pdf')
$ for (i in seq(5,20)){barplot(1:20,col=rainbow(i))}
$ dev.off()
in Shell:
$ convert example.pdf example.png
$ convert -delay 10 -loop 1 example-*png animation.gif
The 16 different barplots. |
The slightly psychedelic animation. |
No comments:
Post a Comment