convert screenshots or other pictures into a gif.
png2gif(path = ".", input_like = ".png", output_name = "tmp.gif", size = "1000x1000", transfer_time = 1)
path | Character. The directory contains the pictures to convert. |
---|---|
input_like | Character. The file names of the pictures like |
output_name | Character. The output file name |
size | Character. n x n. |
transfer_time | Integer. n seconds. |
gif
png2gif( path = file.path('../','inst') ,input_like = 'reprex' ,output_name = 'reprex201811061210.gif' )#> Error in .::magick: 参数没有用(image_join)