ComfyUI Node

Save DDS Image

Saves a batch of image tensors to PNG, JPEG, WebP, TIFF, TGA, or EXR files with custom naming and output paths. Supports parallel saving for speed and preserves 32-bit float data for EXR/HDR workflows.

By lilquail·Created 8 months ago·Updated 8 months ago· 1
Save DDS Image
  • images
    filename_prefixComfyUI
    formatBC3_UNORM
    output_color_spacesRGB
    output_path
    mipmap_levelsFull Chain
    mipmap_filterBox
    preserve_alpha_coverage0.0
    gpu_adapterAuto (GPU 0)
    CategoryLeputen-Utils/DDS

    Inputs (9)

    NameTypeDefaultDescription
    imagesIMAGEThe batch of image tensors to be saved as DDS files.
    filename_prefixSTRINGComfyUIA prefix for the output filenames. Each saved DDS file will be named 'prefix_00001.dds', 'prefix_00002.dds', etc.
    formatCOMBOBC3_UNORMThe compression format for the output DDS file. BC1 is best for opaque textures (no alpha). BC3 is ideal for textures with alpha transparency. BC7 offers the highest quality but larger file sizes. BC4/BC5 are for grayscale and normal maps.
    output_color_spaceCOMBOsRGBThe color space of the output file. sRGB for albedo/diffuse textures, Linear for normal maps, height maps, etc. Can connect from DDS loader.
    output_pathoptSTRINGOptional: Specify an absolute path for saving. If empty, saves to ComfyUI output directory.
    mipmap_levelsoptCOMBOFull ChainMipmap levels: 'Full Chain' = all, 'None' = disabled, or specify count.
    mipmap_filteroptCOMBOBoxMipmap filter. Box: fast default. Linear/Cubic: smoother. Triangle: good for alpha. Point: nearest.
    preserve_alpha_coverageoptFLOAT0.00–1Preserve alpha coverage during mipmapping. 0 = off. Use ~0.5 for foliage/hair.
    gpu_adapteroptCOMBOAuto (GPU 0)GPU for BC6/BC7 compression. Use 'GPU 1' if discrete GPU isn't adapter 0.

    Outputs (0)

    No outputs