Nodes/ComfyUI-XENodes/Save HDR Image
ComfyUI Node

Save HDR Image

Saves the input image natively as HDR AVIF using ffmpeg.

By xeinherjer-dev·Created 5 months ago·Updated 2 days ago· 2
Save HDR Image
  • images
  • gainmap
filename_prefiximage/ComfyUI
formatavif
codec
peak_nits400
itm_knee0.00
itm_exponent1.00
Categoryxenodes/experimental

Inputs (7)

NameTypeDefaultDescription
imagesIMAGEThe images to save.
filename_prefixSTRINGimage/ComfyUIThe prefix for the file to save.
formatCOMBOavifThe image format to save.
codecCOMBOThe codec to use for AVIF encoding.
peak_nitsFLOAT400100–10000Peak brightness in nits. SDR white (100 nits) will be mapped to this target luminance in HDR.
itm_kneeFLOAT0.000–1Inverse Tone Mapping (Soft-Knee) threshold. 0.0 starts expansion from black. 0.8 preserves SDR midtones and applies expansion to highlights.
itm_exponentFLOAT1.001–10Expansion curve exponent. 1.0 = Linear (punchy/bright), 2.0 = Quadratic (soft/natural), >2.0 = even softer transition.

Outputs (1)

NameTypeDescription
gainmapIMAGE