ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Remove Underscore in Image Sequence Filenames Generated by save_images Function

Open FVolral opened this issue 11 months ago • 6 comments

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

FVolral avatar Jan 17 '25 22:01 FVolral