png2gif: Convert pictures to gif

Description Usage Arguments Value Author(s) Examples

View source: R/png2gif.R

Description

Convert screenshots or other pictures into a gif.

Usage

1
2
png2gif(path = ".", input_like = ".png", output_name = "tmp.gif",
  size = "1000x1000", transfer_time = 1)

Arguments

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.

Value

gif

Author(s)

Jiaxiang Li

Examples

1
2
3
4
5
png2gif(
path = file.path('../','inst')
,input_like = 'reprex'
,output_name = 'reprex201811061210.gif'
)

JiaxiangBU/add2blog documentation built on Dec. 11, 2021, 11:31 p.m.