cvd_image {colorspace} | R Documentation |
Convert Colors of an Image
Description
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.
Usage
cvd_image(img, type, file, severity = 1)
Arguments
img |
|
type |
|
file |
|
severity |
numeric. Severity of the color vision defect, a number between 0 and 1. |
[Package colorspace version 2.0-3 Index]