write.image | R Documentation |
Save image files using the Bio-Formats library. A list of supported formats can be found on the Bio-Formats website.
write.image(x, file, force = FALSE, pixelType, littleEndian)
x |
an |
file |
character, file name |
force |
logical(1), if |
pixelType |
character(1), data type to store pixel values |
littleEndian |
boolean(1), pixel data endianness |
File path to file
is returned invisibly.
Andrzej OleÅ› <andrzej.oles@gmail.com>, 2014-2023
read.image
for reading images.
f = mockFile(sizeX = 256, sizeY = 256)
img = read.image(f)
tempfile = tempfile("", , ".png")
write.image(img, tempfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.