Nodes/SF EXR/SF EXR to Image
ComfyUI Node

SF EXR to Image

Turn a scene-linear layer into the 0-1 image a diffusion model expects. Pair with SF Image to EXR to put the result back into the EXR. With a mask, 'crop to mask' hands the model only the masked region at the size it works best at; the return pastes it back into the full-resolution plate.

By shanef3d·Created 23 days ago·Updated 20 days ago· 0
SF EXR to Image
  • exr
  • mask
  • image
  • context
  • alpha
  • crop mask
◄layerauto►
◄source_spaceauto (from file)►
◄encodingsRGB (ACES SDR view)►
◄exposure0.0►
◄crop▾►
CategorySF EXR

Inputs (7)

NameTypeDefaultDescription
exrSF_EXR—
layerCOMBOauto'auto' is the beauty.
source_spaceCOMBOauto (from file)28 options: auto (from file), CIE XYZ-D65 - Display-referred, sRGB - Display, Gamma 2.2 Rec.709 - Display, Display P3 - Display, Display P3 HDR - Display, +22
encodingCOMBOsRGB (ACES SDR view)ACEScct keeps more highlight range; sRGB looks like a normal photo.
exposureFLOAT0.0-10–10Stops; undone on return.
cropCOMBO'crop to mask' needs the crop mask input. One crop covers it on every frame.
maskoptMASKThe area to edit. Crop to mask crops to it, it comes out matching 'image' for inpainting, and SF Image to EXR blends through it.

Outputs (4)

NameTypeDescription
imageIMAGE—
contextSF_EXR_MODEL_CONTEXT—
alphaMASKThe layer's own alpha channel.
crop maskMASKThe crop mask matching 'image' (cropped and scaled with it); empty when none is connected.