Closed kikar closed 8 years ago
@kikar Could you verify if ImageMagick is installed on your instance? https://github.com/Turistforeningen/node-s3-uploader#requirements
@anthonyringoet Nope, is that required? Cause I wont be able to install it on my server
@kikar s3-uploader module uses imagemagick in the background to generate the different image sizes. After the resize process, they are uploaded to S3. Imagemagick is a hard requirement right now.
@anthonyringoet Is ImageMagick CLI enough? Would I be fine just installing it with brew install imagemagick
?
@kikar Normally that should fix it yes. Please try it and verify your imagemagick version identify --version
Did it work out for you @kikar? Feel free to open if you're still having issues.
hey! sorry to re-open this but I'm running into a similar issue with some(!) images!
Error: Error: Command failed: identify -format "name=
size=%[size]
format=%m
colorspace=%[colorspace]
height=%[height]
width=%[width]
orientation=%[orientation]
" /tmp/1504179042590.png
identify: improper image header `/tmp/1504179042590.png' @ error/png.c/ReadPNGImage/4232.
For some reason some images work and some don't.. any idea?
I'm trying to upload some photos as I receive them from a POST request, here is my code:
And here is the error I'm getting:
I'm using node 4.2.4 on OSX 10.11.2 with s3-uploader 1.1.0