ExrHeader loadHeader(std::filesystem::path path)
Load only the header information from an EXR file.
tinygltf::Image load(const std::filesystem::path &filename)
Load a complete EXR image file.
Represents channel information from an EXR file header.
int y_sampling
Sampling rate in Y direction.
std::string name
Channel name (e.g., "R", "G", "B", "A")
int x_sampling
Sampling rate in X direction.
unsigned char p_linear
Whether channel is perceptually linear.
int pixel_type
Pixel type (TINYEXR_PIXELTYPE_HALF, FLOAT, etc.)