WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.21k stars 177 forks source link

Image Save node now saves very slowly #402

Open ManOrMonster opened 5 months ago

ManOrMonster commented 5 months ago

Ever since the workflow-breaking update to the Image Save node, it saves very slowly. No matter which options or image formats I choose, it takes about 6-7 seconds to save four 1024x1024 images. Deleting and re-adding the node doesn't help.

Baseline for this node (with all options set to false, using webp)

image

image

Other save image nodes with similar functions, minus the DPI, save in about 1/3 of the time (2 seconds or less). Examples:

SDPromptSaver node

image

Image Saver node

image

ghostsquad commented 2 months ago

I've noticed the same thing, though I need to test the other saver nodes.

WASasquatch commented 2 months ago

Ever since the workflow-breaking update to the Image Save node, it saves very slowly. No matter which options or image formats I choose, it takes about 6-7 seconds to save four 1024x1024 images. Deleting and re-adding the node doesn't help.

Baseline for this node (with all options set to false, using webp)

image

image

Other save image nodes with similar functions, minus the DPI, save in about 1/3 of the time (2 seconds or less). Examples:

SDPromptSaver node

image

Image Saver node

image

You aren't using optimization, and using webp, so it'll be slow on Pillow. Pillow is almost 4x slower then opencv for example used in couple other nodes I know of.

ManOrMonster commented 2 months ago

I posted this back in May. I have no idea if this node is working better now, but I did note in my original message that "No matter which options or image formats I choose" it is the same outcome. I did extensive tests.

I've since moved to Save Image Extended, which saved faster than any other nodes I could find, and added some other nice options as well. I've been pretty happy with it.

You can close this as far as I'm concerned.