clsave: Save Colorized and Juxtaposed Images

Description Usage Arguments Value Examples

View source: R/clsave.R

Description

clsave saves images that have been colorized using colorize or juxtaposed with juxtapose.

Usage

1
clsave(response, destfile = "")

Arguments

response

a response object of a colorize function call.

destfile

a character string or vector with the name where the images are saved.

Value

Besides saving, the function returns the response object invisibly.

Examples

1
2
3
4
5
6
## Not run: 
# Save colorized images
res <- colorize(img = "https://upload.wikimedia.org/wikipedia/commons/9/9e/Breadfruit.jpg")
clsave(res, destfile = "colorized_version.jpg")

## End(Not run)

colorizer documentation built on Nov. 8, 2020, 4:39 p.m.

Related to clsave in colorizer...