set extension

Basic data handling: PathSetExtension

Sets the file extension for a path. This node replaces the current extension in a path with a new one. The extension should include the dot (e.g., '.jpg').

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
pathSTRINGrequired
extensionSTRINGrequired

Outputs (1)

NameType
pathSTRING