From 4bf7ea3e26bc16b3a2a7e17d4a1a05224731cd55 Mon Sep 17 00:00:00 2001 From: dali Date: Mon, 22 Feb 2021 16:10:01 +0100 Subject: [PATCH] :bug: Fix Empty buffer error in ImageEdit node --- packages/nodes-base/nodes/EditImage.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/EditImage.node.ts b/packages/nodes-base/nodes/EditImage.node.ts index 67ba06679a..af81cbbe67 100644 --- a/packages/nodes-base/nodes/EditImage.node.ts +++ b/packages/nodes-base/nodes/EditImage.node.ts @@ -11,7 +11,7 @@ import { INodeType, INodeTypeDescription, } from 'n8n-workflow'; -import * as gm from 'gm'; +const gm = require('gm').subClass({imageMagick: true}); import { file } from 'tmp-promise'; import { parse as pathParse,