Description Usage Arguments Value See Also Examples
Read a bitmap image in WAL format, and return data in the same format as png::readPNG
and jpeg::readJPEG
do.
1 |
filepath |
character string, path to the file including extension |
apply_palette |
optional 256 x 3 integer matrix, the palette. Must contain values in range 0..255. Pass NULL if you do not want to apply any palette. The resulting |
numeric matrix with dimension width x height x channels, with all color values in range 0..1.
read.wal
if you want to read the header and have more control.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.