Revert wrong bugfix and fix typo

This commit is contained in:
Jan Oberhauser
2020-11-19 08:37:19 +01:00
parent db47892e77
commit 79ccf6a2e9
3 changed files with 4 additions and 4 deletions

View File

@@ -861,7 +861,7 @@ export class EditImage implements INodeType {
cleanupFunctions.push(cleanup);
fsWriteFileAsync(fd, Buffer.from(item.binary![dataPropertyNameComposite as string].data, BINARY_ENCODING));
gmInstance = gmInstance.compose(path).geometry(geometryString);
gmInstance = gmInstance.composite(path).geometry(geometryString);
} else if (operation === 'crop') {
const width = this.getNodeParameter('width') as number;
const height = this.getNodeParameter('height') as number;