🐛 Fix Empty buffer error in ImageEdit node

This commit is contained in:
dali 2021-02-22 16:10:01 +01:00
parent 5cce827d6f
commit 4bf7ea3e26

View file

@ -11,7 +11,7 @@ import {
INodeType, INodeType,
INodeTypeDescription, INodeTypeDescription,
} from 'n8n-workflow'; } from 'n8n-workflow';
import * as gm from 'gm'; const gm = require('gm').subClass({imageMagick: true});
import { file } from 'tmp-promise'; import { file } from 'tmp-promise';
import { import {
parse as pathParse, parse as pathParse,