get_social_image: Get social media image size to match platform and format

View source: R/ggsave_ext.R

get_social_imageR Documentation

Get social media image size to match platform and format

Description

See paper_sizes[paper_sizes$type == "social",]$name for support image options.

Usage

get_social_image(
  image = NULL,
  platform = NULL,
  format = NULL,
  orientation = NULL
)

Arguments

image

Image size name, Default: NULL

platform

Social media platform, "Instagram", "Facebook", or "Twitter", Default: NULL

format

Image format, "post", "story", or "cover", Default: NULL

orientation

Image orientation, Default: NULL.


elipousson/overedge documentation built on Aug. 13, 2022, 7:41 p.m.