ComfyUI Node

Load DDS Image

Loads a single DDS (DirectDraw Surface) texture, performing alpha bleeding and mask inversion if needed. Useful for loading game textures or environment maps that are already in DDS format.

By lilquail·Created 8 months ago·Updated 8 months ago· 1
Load DDS Image
    • image
    • mask
    • filename
    • path
    • format
    • color_space
    image
    alpha_bleedtrue
    blur_radius0.0
    invert_maskfalse
    CategoryLeputen-Utils/DDS

    Inputs (4)

    NameTypeDefaultDescription
    imageCOMBOSelect a DDS image file to load. This should be placed in the ComfyUI input directory.
    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).

    Outputs (6)

    NameTypeDescription
    imageIMAGE
    maskMASK
    filenameSTRING
    pathSTRING
    formatBC1_UNORM,BC2_UNORM,BC3_UNORM,BC4_UNORM,BC5_UNORM,BC6H_UF16,BC6H_SF16,BC7_UNORM,R16G16B16A16_FLOAT,R32G32B32A32_FLOAT,R8G8B8A8_UNORM,B8G8R8A8_UNORM,B8G8R8X8_UNORM,R10G10B10A2_UNORM
    color_spacesRGB,Linear