Wappler Version : 3.4
Operating System : Node
Expected behavior
The following crop setup should work on Node as it does on PHP
Actual behavior
{
"status": "500",
"message": "image.crop: x is required.",
"stack": "Error: image.crop: x is required.\n at App.parseRequired (/opt/node_app/lib/core/app.js:293:19)\n at App.crop (/opt/node_app/lib/modules/image.js:103:25)\n at App._exec (/opt/node_app/lib/core/app.js:255:57)\n at App._exec (/opt/node_app/lib/core/app.js:234:28)\n at async App.exec (/opt/node_app/lib/core/app.js:205:9)\n at async App.define (/opt/node_app/lib/core/app.js:188:9)"
}
How to reproduce
see above. Changing x and y to actual values works, however the default of center and middle produces the error.
Similar results from other image processor actions that use X: center and Y: middle as default.
EDIT: Using negative numbers (px from right) and %, also do not work on Node.
Community Page
Last updated:
Last updated: