You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2021. It is now read-only.
I'm having a problem getting image-diff to work on some systems. I cannot reliably include ImageMagick in my OS's PATH, as I have another utility called "convert.exe" already in PATH. When image-diff calls ImageMagick's convert.exe via gm, it hits the wrong convert.exe.
gm has a workaround for this - you can initialize it with options.appPath where appPath is the path to ImageMagick, bypassing the need to map it at the OS level. This of course requires that image-diff also has an appPath option. I have a quick-and-dirty example at https://github.com/shukriadams/image-diff/blob/master/lib/image-diff.js (line 248-ish), would it be possible it implement something similar to this?