Comfy-Org / Comfy-Org/ComfyUI

Remove Underscore in Image Sequence Filenames Generated by save_images Function

Open
#6,503 6 comments 1 reaction 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

In nodes.py, there is a function called save_images, which is used, for example, by the Save Image node. Someone thought it was a good idea to add an underscore at the end of the file name after the image sequence number, but it’s awful because most software that handles image sequences, like Blender, After Effects, or others, won’t be able to detect the image sequence. I could submit a PR myself, but I’m too lazy to clone the repository just to fix a miserable underscore that should never have been there in the first place...

So, on the rare occasions when I completely switch versions of ComfyUI, I fix the issue locally. But hey, I just wanted to let you know that this issue exists. You also need to understand that when you realize the problem after generating a sequence of 50–100 images—or maybe even more—you have to rename all the files. Sure, you can always manage it with scripts, but still...

Aside from that, thank you for all the work you do—ComfyUI is amazing! xxx

![Image](https://github.com/user-attachments/assets/2e36f004-a7b8-4144-89ce-adcff4fbd018)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.