Description Usage Arguments Value Examples
Reads pixels from a JPEG file into a matrix with RGB columns
1 |
file |
path to JPEG file |
matrix with three columns, R, G and B, and as many rows as there are pixels in the JPEG.
1 2 | example_jpg <- system.file("extdata", "example.JPG", package = "routes")
read_pixels(example_jpg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.