question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command failed: gm convert: No decode delegate for this image format

See original GitHub issue

I am getting this error when I use the exact code written in the npm documentation’s first example.

Error: Command failed: gm convert: No decode delegate for this image format (C:\Users\acer\AppData\Local\Temp\gmnP1bMn).

    at ChildProcess.onExit (D:\Suyash\Work\pennywise\pdf-manipulation\node_modules\gm\lib\command.js:301:17)
    at ChildProcess.emit (events.js:315:20)
    at ChildProcess.cp.emit (D:\Suyash\Work\pennywise\pdf-manipulation\node_modules\cross-spawn\lib\enoent.js:40:29)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
  code: 1,
  signal: null
}

I am using windows 10 64-bit architecture and have installed the following and added them in window’s path:

  • GraphicsMagick-1.3.36-Q8-win64-dll
  • gs952w64

What am I doing wrong? @yakovmeister

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
LuisSiccommented, Jul 11, 2022

I’m getting the same issue with a specific pdf. Did you find any solution for this? @Suyash-Purwar. @yakovmeister I’m using Ubuntu 20.04 LTS and GraphicsMagick 1.3.35 2020-02-23

Read more comments on GitHub >

github_iconTop Results From Across the Web

gm convert: No decode delegate for this image format
The problem seems like I don't have a "converter" for JPEG. Question is - how does one set this up so it supports...
Read more >
41 [ERROR] convert: No decode delegate for this image format
Hello all, I am trying to switch from IM to GM in which I am using the following in IM to compress some...
Read more >
Error: Command failed: gm identify: No decode delegate for ...
When trying to convert a PSD to a PNG, I am getting this error: Error: Command failed: gm identify: No decode delegate for...
Read more >
Imagemagick, no decode delegate for this image format `JPEG'
Imagemagick, no decode delegate for this image format `JPEG' ... With command of convert sample.jpg -rotate 5 out.jpg I get an error with....
Read more >
T4163 graphicsmagick cannot find decode delegates for any ...
No graphicsmagick command line callings seem to work correctly. ... Lenna.png Output.jpg gm convert: No decode delegate for this image format (Lenna.png).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found