Learn R Programming

rayimage (version 0.15.1)

add_vignette: Add Vignette Effect (Deprecated)

Description

Takes an RGB array/filename and adds a camera vignette effect.

Usage

add_vignette(...)

Value

3-layer RGB array of the processed image.

Arguments

...

Arguments to pass to render_title() function.

Examples

Run this code
if(run_documentation()){
#Plot the dragon
plot_image(dragon)
}
if(run_documentation()){
#Add a vignette effect:
add_vignette(dragon, preview = TRUE, vignette = 0.5)
}

Run the code above in your browser using DataLab