writeFileTiff: Write File Tiff

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/writeFileTiff.R

Description

Create a TIFF file from a 3D-array.

Usage

1
writeFileTiff(img,  file.name, invert = TRUE, bits.per.sample = NULL)

Arguments

img

Either an image or a list of images. An image is a real matrix or array of three dimensions.

file.name

Either the name of the file or the name of a raw vector.

invert

If set to TRUE then the order of the data will be reversed. Default TRUE.

bits.per.sample

Number of bits per sample (numeric scalar). Supported values in this version are 8, 16, and 32.

Details

Create a TIFF file using writeTIFF, converting a 2D-array. If the file contains multiple pages, a 3D-array is turned into a 2D-array to implement the aforementioned function.

Value

None.

Author(s)

Adan O. Guerrero Cardenas.

References

None

See Also

writeTIFF readFileTiff

Examples

1
2
imagsave <- array(data = 1:10, dim = c(100,100,10))
writeFileTiff(imagsave, paste(tempdir(), "/image_Test.tif", sep = ""))

FCSlib documentation built on Nov. 27, 2020, 5:09 p.m.

Related to writeFileTiff in FCSlib...