aheckmann / gm

GraphicsMagick for node
http://aheckmann.github.com/gm/
6.95k stars 614 forks source link

Fix ImageMagick 7+ #774

Closed piotr-cz closed 2 years ago

piotr-cz commented 5 years ago

Add new option when using ImageMagick 7+:

var fs = require('fs')
  , gm = require('gm').subClass({imageMagick: '7+'});

Closes #524, #528, #559, #652, #682 Alternate version to #594

Tested on Windows

See ImageMagick > version 7 Porting Guide > Command Changes:

The "magick" command is the new primary command of the Shell API, replacing the old "convert" command.

piotr-cz commented 5 years ago

Travis build failed during make test command:

Error: Client request error: getaddrinfo ENOTFOUND api.nodesecurity.io api.nodesecurity.io:443

aheckmann commented 2 years ago

Landed in #846. Released in v1.25.0. Thank you!