writeMulti: Write a Multi-Page Image

View source: R/ImageClass.R

writeMultiR Documentation

Write a Multi-Page Image

Description

writeMulti writes a list of Image objects to a multi-page image.

Usage

writeMulti(x, img_list, overwrite = FALSE)

Arguments

x

A character string naming the path to a multi-page image file.

img_list

A list of Image objects.

overwrite

Should the file be overwritten if it already exists? (default: FALSE)

Value

A message indicating whether writing was successful or not.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image

Examples

balloon <- readMulti(system.file("sample_img/multipage.tif", package = "Rvision"))
## Not run: 
writeMulti("~/Desktop/balloon.tiff", balloon)

## End(Not run)



swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.