gemm_unsplash_image_lines: Generate line images using Unsplash photos.

View source: R/gemm_image_lines.R

gemm_unsplash_image_linesR Documentation

Generate line images using Unsplash photos.

Description

Generate line images using Unsplash photos.

Usage

gemm_unsplash_image_lines(
  unsplash_token,
  filepath = tempfile(fileext = ".png"),
  line_color = "black",
  background_color = sample(colors(), 1)
)

Arguments

unsplash_token

Your API access key for Unsplash

filepath

The path to save the output image to

line_color

The color to draw the lines of the image

background_color

The flat color to use as a background

Value

A list containing the filepath of the output image (as 'image_output') and the image credit (as 'image_credit')


mikemahoney218/gemm documentation built on Sept. 15, 2022, 10:21 a.m.