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

[imageMagick] Conversion works on command line but not through GM #695

Open
alexgurr opened this issue Dec 8, 2017 · 0 comments
Open

[imageMagick] Conversion works on command line but not through GM #695

alexgurr opened this issue Dec 8, 2017 · 0 comments

Comments

@alexgurr
Copy link

alexgurr commented Dec 8, 2017

We've installed imageMagick on the command line. We can manually convert between all required formats.

When we try to convert to/from PNGs through GM we get the following error

{ Error: Command failed: convert: NoDecodeDelegateForThisImageFormat `PNG' @ error/constitute.c/ReadImage/509.

18:05:37 0|app      | convert: NoImagesDefined `/opt/branding-portal/releases/branding-portal-48.0.4/assets-output/converted/logo.png' @ error/convert.c/ConvertImageCommand/3275.

18:05:37 0|app      |     at ChildProcess.onExit (/opt/branding-portal/releases/branding-portal-48.0.4/node_modules/gm/lib/command.js:301:17)

18:05:37 0|app      |     at emitTwo (events.js:126:13) 
18:05:37 0|app      |     at ChildProcess.emit (events.js:214:7) 
18:05:37 0|app      |     at maybeClose (internal/child_process.js:925:16) 
18:05:37 0|app      |     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) code: 1, signal: null } [ '',

Listing the delegates on the command line correctly shows PNG. We've set the subClass in GM to imageMagic, so no graphicsMagick conflicts.

Any ideas?

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

1 participant