I'm trying to resize GIF and PNG images using imagemagick.
Sometimes it fails just trying to identify the images:
im.identify(tempFilePath, function(err, features){
if (err) {
console.log(err);
return next();
}
}
So usually the process completes without issue, with both PNG and GIF. But when I upload a specific GIF image (sent to me by user, is a working gif file), I get this error:
{"error":{"timedOut":false,"killed":true,"code":null,"signal":"SIGKILL"}
I can't figure out what this means, seems like it maybe has to do with memory? Is there a way to prevent this from happening?