node-red-contrib-image-output
node-red-contrib-image-output copied to clipboard
When upload image taken by camera of mobile phone, RangeError: Maximum call stack size exceeded
The phone is Samsung Note 10.
When I upload an image from the phone's photo library, it's OK. When I upload image by taking picture, the error occured: RangeError: Maximum call stack size exceeded
The upload example is copied from here: https://flows.nodered.org/flow/c70d0b4c54b583cf30c7e989b74feb68
This is the working screen capture:
This is the error screen capture:
If I remove the first image viewer, the "scaleToFit" node will report the same error.
The image uploaded is displayed on the "/upload" page, so the image is truly uploaded to Node-RED server.
Maybe the photo is too large? But I don't understand what's the difference between taking photo now and the photo already taken. Should they be the same size?