gifify: Convert video to GIF (with subtitles)

Description Usage Arguments Value

View source: R/gifify.R

Description

'gifify' lets you import video files and create subtitled GIFs from them, for all of your meme-ing needs.

Usage

1
2
3
4
gifify(file, text = "", cut = NULL, gifname = "brilliant.gif",
  width = "400", color = "yellow", size = 22,
  strokecolor = "black", gravity = "south", style = "italic",
  weight = 700, delay = 1/20)

Arguments

file

File path to video file

text

Subtitle text (one or two text strings)

cut

If using multiple subtitles, the frame of the video when the subtitles should switch (might take some experimentation)

gifname

Name of exported file. Defaults to "brilliant.gif"

width

width of exported file

color

color of subtitle text

size

size of subtitle text

gravity

position of subtitle text. "south" is default.

style

font family.

weight

thickness of font.

delay

sets speed of GIF; default (1/20) should be normal speed.

Value

Returns a brilliant GIF.


imaddowzimet/gifify documentation built on April 16, 2020, 11:49 a.m.