resize_photos: Resize photos

Description Usage Arguments

Description

Resize photos

Usage

1
2
3
resize_photos(photo_files = list.files(".", pattern =
  ".*\\.(jpg|jpeg|JPG|JPEG|png|PNG)"), out_dir = tempdir(),
  max_width = 340, max_height = 340, quality = 95, quiet = FALSE)

Arguments

photo_files

character vector. paths of the photo files

out_dir

string. output directory of the resized photos

max_width

maximum photo width

max_height

maximum photo height

quality

the 'quality' of the output JPEG image, as a percentage.

quiet

logical. disable printing text output to the console


adrtod/bastiR documentation built on May 10, 2019, 5:59 a.m.