WASasquatch / was-node-suite-comfyui

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

Image Save Node: Return actual jpg file image output or add output for filepath #444

Closed ckao10301 closed 4 months ago

ckao10301 commented 4 months ago

Trying to use the Image Save node to save as jpg and output to the ComfyS3 Save Image to S3 node. The problem is, if I set the Image Save node to save as jpg, it outputs the uncompressed png to the ComfyS3 node.

  1. Is it possible to add an image output for the actual compressed jpg?
  2. Or, can we add an output for the filepath of the jpg file? Thanks

image

TemryL commented 4 months ago

Hi @ckao10301, I guess here the Image Save node from WAS simply return the image data in the same format it has been passed as input, not the jpeg file. And the Save Image to S3 will actually always save the images in png and upload to s3.

I guess here, one way to solve your issue would be to add the possibility to return the local path of the file generated by Image Save node and pass it to the simple Upload File to S3 instead of Save Image to s3 node.

ckao10301 commented 4 months ago

it works, thanks!