I try to make it work with Imagemagick
I notice the delegates.xml file is now like that:
Code: Select all
<delegate decode="svg" command=""rsvg-convert" -o "%o" "%i""/>
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-eps="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
However I decided to continue with inkscape since it works better with svg files.
I have some command like that before installing inkscape :
exec("/usr/bin/convert -background none ".$file." -depth 8 ".$destfile."png 2>&1");
I tried
exec("/usr/bin/convert -background none inkscape:".$file." -depth 8 ".$destfile."png 2>&1"); // $file is svg file
but it says "linked image not found", I do have some links to image, but i don't need, what i need is the base64 image to be converted. Any idea? I can show svg file if you want (3 meg)