a simple:
ce.topColours("_screenshot.jpg", true, function(colours) {
console.log(colours);
});
leads to:
{ [Error: Command failed: ] code: null, signal: 'SIGSEGV' }
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open '/var/folders/3n/0z4f25zs3xb4qq3bj_hcr8xx8c1857/T/1141122-1591-1wrmyc6.miff'
I have restricted gm to be <1.0.0 but still having the issue.
I thought this was due to the write("histogram:"+tmpFilename... but the issue seems to be with:
.scale(Math.ceil(wh.height/ratio), MAX_W) # Scales the image, histogram generation can take some time
Does it work with recent versions of GraphicsMagick (I have 1.3.20)?
a simple:
leads to:
I have restricted gm to be <1.0.0 but still having the issue.
I thought this was due to the
write("histogram:"+tmpFilename...but the issue seems to be with:Does it work with recent versions of GraphicsMagick (I have 1.3.20)?