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

GM config to use imagemagick instead #71

Closed
Henco1 opened this issue Jul 3, 2020 · 0 comments
Closed

GM config to use imagemagick instead #71

Henco1 opened this issue Jul 3, 2020 · 0 comments
Assignees
Projects

Comments

@Henco1
Copy link

Henco1 commented Jul 3, 2020

Received Error: Command failed: gm convert: Coder did not return an image (this is a bug, please report it!) (/tmp/gmmSJZta) [No such file or directory]. when executing image conversion on ubuntu.

I solved this issue by updating const gm = require("gm").subClass({ imageMagick: true });

and then updating sudo vim /etc/ImageMagick-6/policy.xml with <policy domain="coder" rights="read|write" pattern="PDF" />

it would be great if imageMagick: true could be passed into the constructor instead of me having to fork the repo and update the code myself.

@yakovmeister yakovmeister self-assigned this Sep 8, 2020
@yakovmeister yakovmeister added this to Backlogs in pdf2image 2 Sep 8, 2020
@yakovmeister yakovmeister moved this from Backlogs to To do in pdf2image 2 Sep 8, 2020
@yakovmeister yakovmeister moved this from To do to In Progress in pdf2image 2 Sep 10, 2020
@yakovmeister yakovmeister moved this from In Progress to Test in pdf2image 2 Sep 12, 2020
@yakovmeister yakovmeister moved this from Test to Done in pdf2image 2 Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
pdf2image 2
  
Done
Development

No branches or pull requests

2 participants