Add Cloud Natural Language node (#1181)

*  Add Cloud Natural Language node

* ⬆️ Set google-fonts-webpack-plugin to latest version

* 🐛 Rename method composite to compose

*  Improvements to Google Cloud Natural Language Node

Improvements to #1171

Co-authored-by: Tanay Pant <tanaypant@protonmail.com>
This commit is contained in:
Ricardo Espinoza
2020-11-19 03:04:20 -05:00
committed by GitHub
parent 79ccf6a2e9
commit cbc1b7f2a3
7 changed files with 436 additions and 1 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.composite(path).geometry(geometryString);
gmInstance = gmInstance.compose(path).geometry(geometryString);
} else if (operation === 'crop') {
const width = this.getNodeParameter('width') as number;
const height = this.getNodeParameter('height') as number;