img_size: Describe a social media image specs

Description Usage Arguments Examples

View source: R/social-img.R

Description

See img_sizes for a list of popular social media image specs

Usage

1
img_size(width, height, x, y, font_size)

Arguments

width

The required width of the image

height

The required height of the image

x

The x position for the text

y

The y position for the text

font_size

The font size for text

Examples

1
twitter <- img_size(width = 1024, height = 512, x = 663.5, y = 380, font_size = 35)

yizhexu/rsocial documentation built on May 28, 2017, 9:42 a.m.