knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The sharpen("./input.png", 5, FALSE, "./output.png")
function adjusts the sharpness of an image.
Given a desired level of adjustment intensity, this function will use the unsharp mask approach to sharpen images. Specifically, this function works by enhancing the edges of an image.
TRUE
, defaults to FALSE
.sharpen(input_img="../img/image.png", intensity=5, display=FALSE, output_img="../img/sharpen_image.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.