ComfyUI Node
Load DDS Images (Batch)
Iterates through and loads DDS files from a directory in batches.
Load DDS Images (Batch)
- image
- mask
- filename
- path
- format
- color_space
◄directorypath/to/folder►
◄pattern*►
◄include_subfoldersfalse►
◄batch_index0►
◄batch_size-1►
◄alpha_bleedtrue►
◄blur_radius0.0►
◄invert_maskfalse►
CategoryLeputen-Utils/DDS
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | path/to/folder | The absolute path to the directory containing files to load. |
| pattern | STRING | * | Filename filter pattern using glob syntax. Examples: • * = all files • *_a.dds = files ending in _a.dds • texture_* = files starting with texture_ Multiple patterns: Use semicolon (;) to match multiple patterns: • *_a.dds;*_n.dds = albedo and normal maps |
| include_subfolders | BOOLEAN | false | If enabled, recursively scans subdirectories for matching files. |
| batch_index | INT | 0 | Current batch index. Connect an external iterator for automatic incrementing. |
| batch_size | INT | -1 | Number of files to load per batch. Set to -1 to load ALL files at once. |
| alpha_bleed | BOOLEAN | true | Enable alpha bleeding to prevent halo artifacts around transparent areas. |
| blur_radiusopt | FLOAT | 0.00–10 | Apply blur during alpha bleeding for smoother transitions. |
| invert_maskopt | BOOLEAN | false | Invert the output mask (white becomes black and vice-versa). |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| filename | STRING | — |
| path | STRING | — |
| format | BC1_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_space | sRGB,Linear | — |