photo_compress_width: Compress photos

View source: R/icons.R

photo_compress_widthR Documentation

Compress photos

Description

Warning: overwrites photos

Usage

photo_compress_width(f, width = 800, quality = 70, ...)

Arguments

f

File path to photo(s).

width

The width of the results; aspect ratio will remain unchanged

quality

Number from 0 to 100 representing the quality of .jpg images

...

Other arguments to pass to magick::image_write()


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