wal.export.to.jpeg | R Documentation |
Export wal instance to JPEG format image file.
wal.export.to.jpeg(wal, filepath, apply_palette = wal::pal_q2(), ...)
wal |
a wal instance, as returned by |
filepath |
character string, path to the JPEG file to write, including the file 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 |
... |
extra parameters passed to |
## Not run:
walf = '~/data/q2_pak0_extracted/textures/e1u2/basic1_7.wal';
wal = read.wal(walf);
wal.export.to.jpeg(wal, "~/basic1_7.jpg");
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.