setupimage | R Documentation |
Perpares image for TIFF export.
setupimage(image, what, compression, endianness = .Platform$endian)
image |
a matrix or array or representing the image: |
what |
bits mode used to store image. Allowed are |
compression |
whether image should be lossless compressed with deflate algorithm. Default is FALSE. |
endianness |
The endian-ness ("big" or "little") of the return object. Default is .Platform$endian. |
It returns a raw vector with 'dims', 'what' and 'comp' attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.