Inputs
Outputs
Notes
- Linear 1.0 uses the same 203-nit reference white as sRGB; HLG uses a 1000-nit reference display.
- Linear and ACEScct outputs preserve extended values; linear-to-HDR conversions preserve highlights without tone mapping.
- SDR output and PQ-to-HLG conversion tone-map excess luminance across the batch (sharing one white point so exposure does not change frame by frame) and compress out-of-gamut colors. HLG and PQ outputs clip negative channels.
- Conversions are computed in float32 and return the intermediate device and dtype.
- LogC3 and ACEScct are camera log encodings: convert them to linear for EXR saving, or to sRGB/HDR/HDR PQ before saving video.
- Straight alpha is not color-transformed; only the RGB channels are converted.
- If
sourceanddestinationare the same, no color transformation is applied — the image is only moved to the intermediate device and dtype.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
fdf8b4f16a1e0c7ff9a86b8cc40f6f796175205e4b1f491b595a74a8456b9b94