cvd_image | R Documentation |
Used in cvd_emulator
. Takes an image object and converts
the colors using deutan
, protan
,
tritan
, desaturate
functions. The image
will be written to disc as a PNG file.
cvd_image(img, type, file, severity = 1, linear = TRUE)
img |
|
type |
|
file |
|
severity |
numeric. Severity of the color vision defect, a number between 0 and 1. |
linear |
logical. Should the color vision deficiency transformation be applied to the
linearized RGB coordinates (default)? If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.