Warning: overwrites photos

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()