Resize, crop, convert, compress, rotate, flip, or read metadata from images using Sharp in an isolated container.
Type: ACTION · Handler: CONTAINER_PROCESS · Image: narakim/image-processor:1.0.0
Input
Pass imageBase64 from File Downloader, AI Image Generation, or Database Media download.
Operations
| Operation | Key inputs |
|---|---|
resize | width, height, fit (cover, contain, fill, …) |
crop | left, top, width, height |
convert | format (jpeg, png, webp) |
compress | quality (0–100, JPEG) |
rotate | angle (degrees) |
flip | axis (horizontal / vertical) |
metadata | — (returns width, height, format, …) |
Outputs
| Field | Description |
|---|---|
imageBase64 | Processed image (except metadata-only) |
contentType | MIME type |
size | Bytes |
Deploy
Build the container before first use:
cd narakim-server/extensions/image-processor
docker build -t narakim/image-processor:1.0.0 .
The extension pool starts the container when a bot uses this node (same as PDF Generator).
Example chain
ai_image_generation → image_processor (compress) → discord_send_message
Was this helpful?
historyLast updated: May 10, 2026
