photo_iconize: Save icons of photos

View source: R/icons.R

photo_iconizeR Documentation

Save icons of photos

Description

Save icons of photos

Usage

photo_iconize(f, geometry = "400x300", dir_out = tempdir(),
  format = "png", overwrite = TRUE, ...)

Arguments

f

File path to photo(s).

geometry

A geometry specification such as "100x80", meaning 100 pixels wide, 80 pixels high. See magick::geometry() for details.

dir_out

Directory where files should be saved, tempdir() by default

format

Output format. See magick::image_write() for details

overwrite

Should previous files be overwritten? TRUE by default

...

Other arguments to pass to magick::image_write()


Robinlovelace/photomapr documentation built on Oct. 21, 2022, 7:21 a.m.