handle_image_output {rayimage} | R Documentation |
Handle Image Output
Description
Handles image output logic: returning, saving to a file, or previewing.
Usage
handle_image_output(image, filename = NULL, preview = FALSE)
Arguments
image |
3D array. The image data. |
filename |
Default |
preview |
Default |
Value
If filename = NULL
and preview = FALSE
, returns the image array invisibly.
Otherwise, saves to file or displays the image.
[Package rayimage version 0.15.1 Index]