aheckmann / gm

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

set path of app file #842

Closed yuwade closed 2 years ago

yuwade commented 2 years ago

can specify a full path to the actual location of the app file instead.

aheckmann commented 2 years ago

The appPath option offers this feature today.


gm(..).subClass({
  imageMagick: true,
  appPath: String.raw`C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe`,
});```