npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-image-editor-pro

v1.1.8

Published

Advanced image editing node for n8n using Sharp and Canvas

Readme

📸 ImageEditorPro – Custom Node for n8n

Advanced image manipulation node for n8n.io using sharp and @napi-rs/canvas.


✨ Features

🧩 Collage Mode

Combine multiple images into a grid layout with:

  • Custom number of rows and columns (e.g. 2x2, 3x3)
  • Spacing between images
  • Background color

✍️ Add Text Mode

Overlay styled text onto an image with full control:

  • Text content
  • Font size
  • Font color
  • Opacity
  • Position:
    • top-left
    • center
    • bottom-right
    • custom (X/Y coordinates)
  • Background shape behind the text:
    • none (default)
    • rectangle
    • circle
  • Background shape styling:
    • backgroundColor: Fill color (e.g. #00000088)
    • padding: Space around the text inside the shape
    • borderColor: Outline color
    • borderWidth: Outline thickness

💦 Add Watermark Mode

Add a watermark text to an image:

  • Watermark content
  • Positioning (same options as Add Text)
  • Opacity

🌐 Input Options

Supports both:

  • Binary image input from previous n8n nodes (e.g. HTTP Request → Binary)
  • URLs (comma-separated string)

📤 Output

Returns the processed image as a binary PNG with key: data.


🧪 Example Use-Cases

  • Add price or name labels to product images
  • Generate automatic preview collages
  • Brand content with watermarks
  • Highlight information with background text badges

🚀 Installation

Option 1: Install via n8n Community Nodes (Recommended)

  1. Go to Settings → Community Nodes in your n8n instance
  2. Click Install a Community Node
  3. Enter the package name:
n8n-nodes-image-editor-pro
  1. Click Install

⚠️ Requirements (Linux / Alpine-based systems)

If installation fails with errors related to canvas.node or missing libraries, you need to install system dependencies:

For Ubuntu/Debian:

sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev build-essential g++

For Alpine (e.g., in Docker):

apk add --no-cache \
  cairo-dev \
  jpeg-dev \
  pango-dev \
  giflib-dev \
  librsvg-dev \
  build-base \
  gcc \
  g++ \
  python3 \
  nodejs \
  npm

Then rebuild the node container or restart n8n.


🧱 Development & Manual Installation

git clone https://github.com/YOUR_USERNAME/n8n-nodes-image-editor-pro.git
cd n8n-nodes-image-editor-pro
npm install
npm run build

🛠 Troubleshooting

  • Error about canvas.node: make sure all system libraries for node-canvas are installed (see above).
  • Use npm rebuild canvas inside .n8n/nodes/node_modules/n8n-nodes-image-editor-pro if issues persist.
  • You may also need to restart the container if running n8n in Docker.

📦 Publishing

To publish your own version to npm:

npm version patch
npm publish

🧠 Contribute

Pull requests are welcome! Ideas for features:

  • Support SVG inputs
  • Auto-resize text to fit area
  • Add borders/shadows to text or images