knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The vibrance("./input.png", 5, FALSE, "./output.png")
function adjusts the vibrance of the colours of an image.
Given a desired level of adjustment intensity, this function works by increasing or decreasing the overall colour intensity and saturation of the image, more so for colours that are less saturated.
TRUE
, defaults to FALSE
.Returns a greyscale image by specifying negative vibrance intensities of down to -10.
Example:
vibrance(input_img="../img/image.png", intensity=5, display=FALSE, output_img="../img/vibrance_image.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.