n8n-nodes-vmtech-edit-image
v0.1.3
Published
VMTech Edit Image community node for n8n with a sharp-based image pipeline and robust text rendering.
Maintainers
Readme
VMTech Edit Image

VMTech Edit Image is an n8n community node for raster image processing with a modern sharp pipeline and reliable text rendering based on fontkit.
Package name: n8n-nodes-vmtech-edit-image
Node name in n8n: VMTech Edit Image
Русский
Что это
VMTech Edit Image это community node для n8n, которая работает рядом со встроенной Edit Image и не изменяет core n8n.
Нода предназначена для multi-step обработки изображений с binary input и binary output.
Поддерживаемые операции:
informationmultiStepblurbordercompositecreatecropdrawrotateresizesheartexttransparentflipfloppadsharpenopacityformat
Что важно в этой ноде
По сравнению со встроенной Edit Image эта нода делает акцент на стабильности и качестве рендера:
- последовательный
multiSteppipeline по умолчанию - обработка без
ImageMagick,GraphicsMagickи shell-команд - modern image engine на
sharp - отдельная подсистема текста на базе
fontkit - более надёжный рендер текста через SVG overlay + compositing
- работа рядом со встроенной
Edit Image, без замены core-функционалаn8n
Что улучшено в работе с текстом
Операция text была сделана как более надёжная замена типичному "нарисовать строку на картинке":
- корректнее работает с длинными строками и длинными абзацами
- поддерживает переносы, многострочный текст и многоабзацный текст
- лучше ведёт себя с кириллицей и латиницей
- поддерживает
font family,font size,font weight,font style - поддерживает
line-height,color,background color - поддерживает horizontal align и vertical align
- поддерживает overflow modes:
wrap,shrink-to-fit,clip,ellipsis
Если вам важно надёжно размещать текст на изображении внутри workflow, это одно из ключевых отличий данной ноды.
Новый функционал сверх built-in Edit Image
Помимо parity со стандартными операциями, в ноду добавлены расширения:
flipfloppadsharpenopacity- явное преобразование
format - отдельный
Output Binary Property NameвOptions - helper-переключатель для визуального показа области текста
Это позволяет использовать ноду как более современную замену built-in Edit Image в сценариях, где нужно несколько последовательных преобразований в одном узле.
Новые удобства в UI
Input Property Nameзадаёт, из какого binary property брать исходное изображениеOptions > Output Binary Property Nameпозволяет записать результат не вdata, а в любой другой binary key, напримерeditedImage- в операции
textпоявился переключательShow Text Box Helper, который рисует тонкую красную пунктирную рамку поверх изображения и визуально показывает область текста
Установка через интерфейс n8n
Это рекомендуемый способ для пользователей self-hosted n8n.
- Откройте
Settings > Community Nodes - Нажмите
Install - Укажите пакет
n8n-nodes-vmtech-edit-image - Подтвердите установку community node
- После установки найдите ноду
VMTech Edit Imageв списке нод
Что нужно для Docker n8n
Для большинства операций достаточно:
- self-hosted
n8n - включённые community nodes
- persistent volume для
~/.n8n
Пример:
services:
n8n:
image: n8nio/n8n:latest
volumes:
- ./n8n_data:/home/node/.n8nБез этого установленный пакет может исчезнуть после пересоздания контейнера.
Шрифты для операции text
Если вы используете операцию text, рекомендуется примонтировать каталог со шрифтами в контейнер:
services:
n8n:
image: n8nio/n8n:latest
volumes:
- ./n8n_data:/home/node/.n8n
- ./fonts:/usr/share/fonts/truetype/custom:roНода ищет шрифты в:
/usr/share/fonts/truetype/custom/srv/fonts
Для Docker runtime основной путь это /usr/share/fonts/truetype/custom.
Важно:
- в смонтированной папке должны быть реальные
.ttfили.otfфайлы - для качественной работы
textлучше явно монтировать пользовательские шрифты - если шрифтов нет, операция
textможет работать не так, как ожидается, или не иметь нужного семейства шрифтов
Ручная установка в Docker
Если вы не хотите ставить пакет через UI, можно установить его вручную внутри контейнера:
docker exec -it <n8n-container> sh
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install n8n-nodes-vmtech-edit-image
exit
docker restart <n8n-container>Лучше устанавливать пакет именно внутри контейнера, чтобы зависимости вроде sharp собирались и ставились под корректный runtime.
Когда использовать эту ноду
VMTech Edit Image особенно полезна, если вам нужно:
- выполнить несколько операций над изображением в одной ноде
- надёжно накладывать текст на изображение
- использовать кастомные шрифты в Docker
- управлять прозрачностью и форматом выходного файла
- заменить хрупкие старые image pipelines на
sharp
Возможные проблемы
Если нода не загружается:
- проверьте, что community nodes не отключены
- проверьте, что
~/.n8nсохраняется через volume - при необходимости используйте
N8N_REINSTALL_MISSING_PACKAGES=trueкак fallback
Если не работает text:
- проверьте mount шрифтов
- проверьте наличие
.ttfили.otfвнутри контейнера - проверьте, что нужное семейство шрифтов реально существует в смонтированном каталоге
English
What It Is
VMTech Edit Image is an n8n community node that works alongside the built-in Edit Image node without modifying n8n core.
It is designed for multi-step image processing with binary input and binary output.
Supported operations:
informationmultiStepblurbordercompositecreatecropdrawrotateresizesheartexttransparentflipfloppadsharpenopacityformat
Why This Node Is Different
Compared to the built-in Edit Image, this node prioritizes stability and rendering quality:
- sequential
multiSteppipeline by default - no
ImageMagick,GraphicsMagick, or shell-based image tooling - modern image engine based on
sharp - dedicated text subsystem powered by
fontkit - more reliable text rendering through SVG overlays and compositing
- works next to the built-in
Edit Imagenode instead of replacing coren8nbehavior
Better Text Rendering
The text operation was built as a more reliable alternative to the usual "draw a string on an image" approach:
- handles long strings and long text blocks more predictably
- supports wrapping, multiline text, and multiple paragraphs
- behaves better with both Cyrillic and Latin text
- supports
font family,font size,font weight, andfont style - supports
line-height,color, andbackground color - supports horizontal and vertical alignment
- supports overflow modes:
wrap,shrink-to-fit,clip, andellipsis
If accurate text placement inside image workflows matters to you, this is one of the main reasons to use this node.
Added Functionality Beyond Built-In Edit Image
In addition to parity with the core feature set, this node adds:
flipfloppadsharpenopacity- explicit
formatconversion - a separate
Output Binary Property Nameoption - a text area helper toggle for visual placement
This makes it a more modern replacement for the built-in Edit Image node when you need multiple sequential transformations inside one node.
New UI Conveniences
Input Property Namedefines which binary property contains the source imageOptions > Output Binary Property Namelets you write the processed image to any binary key instead of always usingdata, for exampleeditedImage- the
textoperation now includes aShow Text Box Helpertoggle that draws a thin red dashed rectangle over the image to visualize the text area
Install Through the n8n UI
This is the recommended installation path for self-hosted n8n users.
- Open
Settings > Community Nodes - Click
Install - Enter
n8n-nodes-vmtech-edit-image - Confirm the community node installation
- After installation, search for
VMTech Edit Imagein the nodes panel
Docker Requirements
For most operations, users only need:
- self-hosted
n8n - community nodes enabled
- a persistent volume for
~/.n8n
Example:
services:
n8n:
image: n8nio/n8n:latest
volumes:
- ./n8n_data:/home/node/.n8nWithout this, the installed package may disappear when the container is recreated.
Fonts for the Text Operation
If you use the text operation, mounting a font directory into the container is strongly recommended:
services:
n8n:
image: n8nio/n8n:latest
volumes:
- ./n8n_data:/home/node/.n8n
- ./fonts:/usr/share/fonts/truetype/custom:roThe node looks for fonts in:
/usr/share/fonts/truetype/custom/srv/fonts
For Docker runtime, the main path is /usr/share/fonts/truetype/custom.
Important:
- the mounted directory should contain real
.ttfor.otffiles - for reliable
textrendering, explicitly mounting custom fonts is recommended - if no suitable fonts are available, the
textoperation may not behave as expected or may not find the required font family
Manual Docker Installation
If you don't want to install the package through the UI, you can install it manually inside the container:
docker exec -it <n8n-container> sh
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install n8n-nodes-vmtech-edit-image
exit
docker restart <n8n-container>It is better to install the package inside the container so dependencies such as sharp are installed for the correct runtime.
When to Use This Node
VMTech Edit Image is especially useful when you need to:
- apply multiple image operations inside one node
- place text on images more reliably
- use custom fonts in Docker
- control transparency and output format explicitly
- replace fragile legacy image pipelines with
sharp
Common Problems
If the node doesn't load:
- make sure community nodes are enabled
- make sure
~/.n8nis persisted with a volume - if needed, use
N8N_REINSTALL_MISSING_PACKAGES=trueas a fallback
If text doesn't work correctly:
- check the font mount
- check that
.ttfor.otffiles are actually available inside the container - check that the requested font family really exists in the mounted directory
