n8n-nodes-compressimg
v1.1.0
Published
n8n community node to compress images using the CompressIMG API
Downloads
331
Maintainers
Readme
n8n-nodes-compressimg
This is an n8n community node that lets you compress images using the CompressIMG API.
CompressIMG uses smart compression to reduce image file sizes while maintaining quality.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Credentials
You need a CompressIMG API key. Sign up at compressimg.app, then generate your API key in the dashboard. See the API documentation for details.
Add the API key in n8n under Credentials > CompressIMG API.
Supported Formats
| Format | Input | Output | |--------|-------|--------| | JPEG/JPG | Yes | Yes | | PNG | Yes | Yes | | WebP | Yes | Yes | | AVIF | Yes | Yes | | TIFF | Yes | Yes | | GIF | Yes | Yes | | HEIC/HEIF | Yes | Converted to JPEG |
Notes:
- GIF — Animated GIFs are compressed as a single frame. Animation is not preserved.
- HEIC/HEIF — HEIC files (common on iPhones) are automatically converted to JPEG during compression.
Operations
Compress Image
Compress an image from a binary input.
Parameters:
- Quality — Compression quality from 1 to 100 (default: 60). Lower = smaller file, higher = better quality.
Options:
- Convert to WebP — Convert the output to WebP format for smaller file sizes (default: disabled)
- Remove Metadata — Strip EXIF data from the output (default: enabled)
- Output Binary Field — Name of the binary property for the result (default:
data)
Compatibility
Tested with n8n version 1.0+.
