Imagick SVG to JPG error no decode delegate Imagick SVG to JPG error no decode delegate php php

Imagick SVG to JPG error no decode delegate


After having tried by @Native Coder and @karser answers my SVG was still generating the same no decode delegate error. It worked after I added <?xml version="1.0" encoding="UTF-8" standalone="no"?> as the opening line of my SVG content. Worth checking your XML is valid as well.


For me these deps were missing (ubuntu 16.04):

sudo apt-get install libgraphicsmagick1-dev libmagickcore-dev libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra

The expected output:

identify -list format | grep SVG     MSVG  SVG       rw+   ImageMagick's own SVG internal renderer      SVG  SVG       rw+   Scalable Vector Graphics (RSVG 2.40.13)     SVGZ  SVG       rw+   Compressed Scalable Vector Graphics (RSVG 2.40.13)


I was able to fix this issue by installing inkscape.

apt-get install inkscape

See my comment here: https://stackoverflow.com/a/63175979/751202