ComfyUI Node

Image Compress

A ComfyUI node in image/processing with 4 inputs and 2 outputs.

By comfyuiattic-989·Created 5 months ago·Updated 5 months ago· 1
Image Compress
  • image
  • image
  • report
quality80
scale_percent100
formatJPEG
Categoryimage/processing

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
qualityINT801–100JPEG: 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_percentINT1001–100Resize 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.
formatCOMBOJPEGJPEG is lossy (quality slider degrades pixels). PNG is lossless (quality only affects file size; use scale_percent to reduce pixel dimensions).

Outputs (2)

NameTypeDescription
imageIMAGE
reportSTRING