Nodes/ComfyUI-Leputen-Utils/Load Image (Leputen)
ComfyUI Node

Load Image (Leputen)

Loads a single image with enhanced alpha handling (alpha bleed, mask inversion) and EXR (HDR) support. Also preserves the relative path/filename structure in the output string, which is useful for batch processing workflows that need to mirror the input folder structure.

By lilquail·Created 8 months ago·Updated 8 months ago· 1
Load Image (Leputen)
    • image
    • mask
    • filename
    • path
    image
    alpha_bleedtrue
    blur_radius0.0
    invert_maskfalse
    exr_tone_mapfalse
    CategoryLeputen-Utils/Image

    Inputs (5)

    NameTypeDefaultDescription
    imageCOMBOSelect an image file to load. Supports files in subfolders and EXR (HDR) format.
    alpha_bleedBOOLEANtrueEnable alpha bleeding (un-premultiply alpha) to prevent halo artifacts around transparent areas. Essential for game assets.
    blur_radiusoptFLOAT0.00–10Apply a blur to the RGB channels during alpha bleeding for smoother transitions. Only active if Alpha Bleed is enabled.
    invert_maskoptBOOLEANfalseIf enabled, the output MASK will be inverted (white becomes black, and vice-versa).
    exr_tone_mapoptBOOLEANfalseFor EXR files: Apply Reinhard tone mapping for HDR content. If disabled, values are clamped to [0,1].

    Outputs (4)

    NameTypeDescription
    imageIMAGE
    maskMASK
    filenameSTRING
    pathSTRING