Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document appPath option #681

Open
zackiles opened this issue Sep 12, 2017 · 2 comments
Open

Document appPath option #681

zackiles opened this issue Sep 12, 2017 · 2 comments

Comments

@zackiles
Copy link

I had to read the source to find this undocumented option for appPath at https://github.com/aheckmann/gm/blob/master/lib/command.js#L204

This allows someone to specify the gm binary path if it's not in PATH. This was particularly helpful for me when using it on Windows.

import GM from 'gm'
const gm = GM.subClass({appPath: 'C:\\Program Files\\GraphicsMagick-1.3.26-Q8\\'})
@jake-knerr
Copy link

Thanks bud, this worked for me and undoubtedly saved me a ton of time.

@Aspvik
Copy link

Aspvik commented Mar 22, 2018

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants