Skip to main content
The ImageColorSpace node converts images between sRGB (Rec.709), linear Rec.709, HDR (Rec.2020 HLG), and HDR PQ (Rec.2020 PQ) color spaces. When converting to SDR output, or from HDR PQ to HDR, it tone-maps excess luminance across the batch and compresses out-of-gamut colors; linear output and linear-to-HDR conversions preserve extended values without tone mapping. Conversions are computed in float32, and any alpha channel is passed through unchanged.

Inputs

Outputs

Notes

  • Linear 1.0 uses the same 203-nit reference white as sRGB; HLG uses a 1000-nit reference display.
  • Linear output and linear-to-HDR conversions preserve extended values 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.
  • Conversions are computed in float32 and return the intermediate device and dtype.
  • Straight alpha is not color-transformed; only the RGB channels are converted.
  • If source and destination are 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): 04ae447a9f9805341e31755ad0fa56746ac0371fa2cb9bda95df3879c9dbead7