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

have a config to use imageMagick #20

Open
tony1223 opened this issue May 2, 2017 · 1 comment
Open

have a config to use imageMagick #20

tony1223 opened this issue May 2, 2017 · 1 comment

Comments

@tony1223
Copy link

tony1223 commented May 2, 2017

I can't use gm in my environment, but I install imageMagick instead.

in the document says we could use the code to change the gm implement.

http://aheckmann.github.io/gm/docs.html#imagemagick
var imageMagick = gm.subClass({ imageMagick: true });

I have to change the code in lib folder manually, could we have a config to setup this ?

@samt
Copy link
Owner

samt commented May 14, 2017

This is being changed very soon, actually. You will be able to specify a renderer which decouples the image generation from pattern generation and you can just pass in a prepared GM or IM object to a renderer.

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

2 participants