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)A rayimg when encode=FALSE, or a rayimg with sRGB-encoded RGB when encode=TRUE.
A rayimg, array, or filename.
Default CS_SRGB. Target display RGB space.
Default TRUE. If TRUE, apply sRGB OETF (only valid when display is sRGB-like).
Default TRUE. Whether to perform CAT from working white to display white.