View source: R/render_to_display.R
| render_to_display | R Documentation |
Convert an image from its working space to a display space, and optionally apply sRGB OETF for viewing.
render_to_display(image, display = CS_SRGB, encode = TRUE, adapt_white = TRUE)
image |
A |
display |
Default |
encode |
Default |
adapt_white |
Default |
A rayimg when encode=FALSE, or a rayimg with sRGB-encoded RGB when encode=TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.