View source: R/gemm_image_lines.R
gemm_unsplash_image_lines | R Documentation |
Generate line images using Unsplash photos.
gemm_unsplash_image_lines( unsplash_token, filepath = tempfile(fileext = ".png"), line_color = "black", background_color = sample(colors(), 1) )
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 |
A list containing the filepath of the output image (as 'image_output') and the image credit (as 'image_credit')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.