View source: R/image-to-prep-mosaic.R
| image_to_scaled | R Documentation | 
Decrease the size of an image, in pixel. Process into a data frame. Internal function.
image | 
 A raster array from an image.  | 
img_size | 
 Size of output image in pixel, where one pixel = one 'brick'. Use a single value (e.g.   | 
brightness | 
 A value >1 will increase the brightness of the image while a positive value <1 will decrease the brightness.  | 
warhol | 
 Array of values   | 
A list with element Img_scaled containing a data frame of the x- & y-coordinates, R, G, B channels, and hex color of each brick (pixel).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.