im_load {sketcher} | R Documentation |
Load image from file or URL
Description
Load image from file or URL
Usage
im_load(file, name)
Arguments
file |
path to file or URL |
name |
a string for name attribute. if missing, inferred from the file argument. |
Value
an array of image data
Examples
## Not run:
# load an image from disk
im = im_load("path/to/your/image.jpg")
plot(im)
# load an image from URL
im = im_load("http://placehold.jp/150x150.png")
## End(Not run)
[Package sketcher version 0.1.3 Index]