ComfyUI Node
Image Compress
A ComfyUI node in image/processing with 4 inputs and 2 outputs.
Image Compress
- image
- image
- report
◄quality80►
◄scale_percent100►
◄formatJPEG►
Categoryimage/processing
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| quality | INT | 801–100 | JPEG: lossy encode quality (1=worst, 100=best). PNG: deflate level (100=no compression/smallest deflate, 1=max deflate). PNG pixels are always lossless — use scale_percent to visibly reduce the output. |
| scale_percent | INT | 1001–100 | Resize the image to this percentage of its original dimensions before encoding. 100 = no resize. 50 = half width and height. Applies to both JPEG and PNG. |
| format | COMBO | JPEG | JPEG is lossy (quality slider degrades pixels). PNG is lossless (quality only affects file size; use scale_percent to reduce pixel dimensions). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| report | STRING | — |