clsave {colorizer}R Documentation

Save Colorized and Juxtaposed Images

Description

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

Usage

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

## 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)

[Package colorizer version 0.1.0 Index]