% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rayimg.R
\name{rayimg}
\alias{rayimg}
\title{Create a rayimg}
\usage{
rayimg(
  x = NULL,
  filetype = NULL,
  source_linear = FALSE,
  colorspace = CS_ACESCG,
  white_current = colorspace$white_xyz,
  exposure = attr(x, "exposure", exact = TRUE),
  iso = attr(x, "iso", exact = TRUE)
)
}
\arguments{
\item{x}{Default \code{NULL}. The underlying array/matrix to wrap.}

\item{filetype}{Default \code{NULL}. Original source type to record (e.g., "png").}

\item{source_linear}{Default \code{FALSE}. Whether the original source was linearized.}

\item{colorspace}{Default \code{CS_ACESCG}. Working space descriptor (see \code{make_colorspace()}).}

\item{white_current}{Default \code{colorspace$white_xyz}. Current assumed scene/display white (XYZ, Y=1).}

\item{exposure}{Default \code{0}. Informational exposure compensation in stops.}

\item{iso}{Default \code{100}. Informational ISO value.}
}
\value{
An object of class \verb{c("rayimg", <original class>)} with attributes.
}
\description{
This class will always be:
\itemize{
\item A matrix or a 2/3/4 layer array
\item It tracks whether the source data was linearized
\item It carries working colorspace/white
\item It carries informational exposure/ISO metadata
}
}
\keyword{internal}
