Flexible and efficient resize, rename, and upload images to Amazon S3 disk storage. Uses the official AWS Node SDK for transfer, and ImageMagick for image processing. Support for multiple image versions targets.
There is a problem with ImageMagick 7.x (in my case 7.0.8-23).
When I call the function .upload() it return an error that with ImageMagick 6.x doesn't happened ever:
{ Error: Command failed: identify -format "name= size=%[size] format=%m colorspace=%[colorspace] height=%[height] width=%[width] orientation=%[orientation] " tmp/1569329589272.jpeg identify: no decode delegate for this image formatJPEG' @ error/constitute.c/ReadImage/556.
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
Subject of the issue
There is a problem with ImageMagick 7.x (in my case 7.0.8-23). When I call the function .upload() it return an error that with ImageMagick 6.x doesn't happened ever:
{ Error: Command failed: identify -format "name= size=%[size] format=%m colorspace=%[colorspace] height=%[height] width=%[width] orientation=%[orientation] " tmp/1569329589272.jpeg identify: no decode delegate for this image format
JPEG' @ error/constitute.c/ReadImage/556.killed: false, code: 1, signal: null, cmd: 'identify -format "name=\nsize=%[size]\nformat=%m\ncolorspace=%[colorspace]\nheight=%[height]\nwidth=%[width]\norientation=%[orientation]\n" tmp/1569329589272.jpeg' }`
Your environment
node --version
)identify -version
)