tshirt: Export a t-shirt-sized image

Description Usage Arguments Details

Description

Saves a plot object as an image file that meets the dimension requirements of the "T-shirts/V-necks/Tank Tops/Long Sleeve/Biker Tanks/Hoodies" product on society6.com (1300 pixels in width, 2000 pixels in height)

Usage

1
tshirt(filename = "plot", plot, filetype = c("jpeg", "png"), dpi = 300)

Arguments

filename

the filename including the extension

plot

the plot object you want to export in the t-shirt size

filetype

choose either "jpeg" or "png"

dpi

default is 300

Details

Note: current options are jpg or png, and this function has NOT been tested on Windows. If you select "png" as your filetype, note that the transparency will be set to on.


Myfanwy/sizer documentation built on May 7, 2019, 5:15 p.m.